/external/tcpdump/ |
H A D | print-otv.c | 42 otv_print(netdissect_options *ndo, const u_char *bp, u_int len) argument 50 ND_TCHECK(*bp); 51 flags = *bp; 53 bp += 1; 55 ND_TCHECK2(*bp, 3); 56 ND_PRINT((ndo, "overlay %u, ", EXTRACT_24BITS(bp))); 57 bp += 3; 59 ND_TCHECK2(*bp, 3); 60 ND_PRINT((ndo, "instance %u\n", EXTRACT_24BITS(bp))); 61 bp [all...] |
H A D | print-carp.c | 49 carp_print(netdissect_options *ndo, register const u_char *bp, register u_int len, int ttl) argument 54 ND_TCHECK(bp[0]); 55 version = (bp[0] & 0xf0) >> 4; 56 type = bp[0] & 0x0f; 66 ND_TCHECK(bp[2]); 67 ND_TCHECK(bp[5]); 69 bp[1], bp[5], bp[2], bp[ [all...] |
H A D | print-dvmrp.c | 70 register const u_char *bp, register u_int len) 76 if (bp >= ep) 79 ND_TCHECK(bp[1]); 80 type = bp[1]; 83 bp += 8; 91 if (print_probe(ndo, bp, ep, len) < 0) 99 if (print_report(ndo, bp, ep, len) < 0) 110 if (print_neighbors(ndo, bp, ep, len) < 0) 124 bp -= 4; 125 ND_TCHECK2(bp[ 69 dvmrp_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument 163 print_report(netdissect_options *ndo, register const u_char *bp, register const u_char *ep, register u_int len) argument 221 print_probe(netdissect_options *ndo, register const u_char *bp, register const u_char *ep, register u_int len) argument 252 print_neighbors(netdissect_options *ndo, register const u_char *bp, register const u_char *ep, register u_int len) argument 284 print_neighbors2(netdissect_options *ndo, register const u_char *bp, register const u_char *ep, register u_int len) argument 334 print_prune(netdissect_options *ndo, register const u_char *bp) argument 348 print_graft(netdissect_options *ndo, register const u_char *bp) argument 359 print_graft_ack(netdissect_options *ndo, register const u_char *bp) argument [all...] |
H A D | print-vxlan.c | 48 vxlan_print(netdissect_options *ndo, const u_char *bp, u_int len) argument 56 ND_TCHECK2(*bp, VXLAN_HDR_LEN); 58 flags = *bp; 59 bp += 4; 61 vni = EXTRACT_24BITS(bp); 62 bp += 4; 68 ether_print(ndo, bp, len - VXLAN_HDR_LEN, ndo->ndo_snapend - bp, NULL, NULL);
|
H A D | print-nsh.c | 49 nsh_print(netdissect_options *ndo, const u_char *bp, u_int len) argument 69 ND_TCHECK2(*bp, NSH_BASE_HDR_LEN + NSH_SERVICE_PATH_HDR_LEN); 71 ver = (uint8_t)(*bp >> 6); 72 flags = *bp; 73 bp += 1; 74 length = *bp; 75 bp += 1; 76 md_type = *bp; 77 bp += 1; 78 next_protocol = *bp; [all...] |
H A D | print-geonet.c | 60 const u_char *bp) 67 version = bp[0]; 68 msg_type = bp[1]; 76 const u_char *bp) 78 uint16_t dest = EXTRACT_16BITS(bp+0); 79 uint16_t src = EXTRACT_16BITS(bp+2); 85 const u_char *bp) 89 if (!ND_TTEST2(*bp, GEONET_ADDR_LEN)) 91 ND_PRINT((ndo, "GN_ADDR:%s ", linkaddr_string (ndo, bp, 0, GEONET_ADDR_LEN))); 93 if (!ND_TTEST2(*(bp 59 print_btp_body(netdissect_options *ndo, const u_char *bp) argument 75 print_btp(netdissect_options *ndo, const u_char *bp) argument 84 print_long_pos_vector(netdissect_options *ndo, const u_char *bp) argument 108 geonet_print(netdissect_options *ndo, const u_char *bp, u_int length, const struct lladdr_info *src) argument [all...] |
H A D | print-pim.c | 140 static void pimv2_print(netdissect_options *, register const u_char *bp, register u_int len, const u_char *); 144 register const u_char *bp, register u_int len) 150 if (ND_TTEST2(bp[0], 30) && bp[11] == 1 && 151 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) { 154 ND_PRINT((ndo, " RPF %s ", ipaddr_string(ndo, bp))); 155 hold = EXTRACT_16BITS(&bp[6]); 161 ipaddr_string(ndo, &bp[26]), bp[2 143 pimv1_join_prune_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument 230 pimv1_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument 325 cisco_autorp_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument 420 pim_print(netdissect_options *ndo, register const u_char *bp, register u_int len, const u_char *bp2) argument 525 pimv2_addr_print(netdissect_options *ndo, const u_char *bp, enum pimv2_addrtype at, int silent) argument 625 pimv2_check_checksum(netdissect_options *ndo, const u_char *bp, const u_char *bp2, u_int len) argument 655 pimv2_print(netdissect_options *ndo, register const u_char *bp, register u_int len, const u_char *bp2) argument [all...] |
H A D | print-vrrp.c | 107 register const u_char *bp, register u_int len, 113 ND_TCHECK(bp[0]); 114 version = (bp[0] & 0xf0) >> 4; 115 type = bp[0] & 0x0f; 122 ND_TCHECK(bp[2]); 123 ND_PRINT((ndo, ", vrid %u, prio %u", bp[1], bp[2])); 124 ND_TCHECK(bp[5]); 127 auth_type = bp[4]; 129 ND_PRINT((ndo, ", intvl %us, length %u", bp[ 106 vrrp_print(netdissect_options *ndo, register const u_char *bp, register u_int len, register const u_char *bp2, int ttl) argument [all...] |
H A D | print-vxlan-gpe.c | 61 vxlan_gpe_print(netdissect_options *ndo, const u_char *bp, u_int len) argument 70 ND_TCHECK2(*bp, VXLAN_GPE_HDR_LEN); 72 flags = *bp; 73 bp += 3; 75 next_protocol = *bp; 76 bp += 1; 78 vni = EXTRACT_24BITS(bp); 79 bp += 4; 89 ip_print(ndo, bp, len - 8); 92 ip6_print(ndo, bp, le [all...] |
H A D | print-calm-fast.c | 36 * This is the top level routine of the printer. 'bp' points 40 calm_fast_print(netdissect_options *ndo, const u_char *bp, u_int length, const struct lladdr_info *src) argument 45 ND_TCHECK2(*bp, 2); 48 srcNwref = bp[0]; 49 dstNwref = bp[1]; 51 bp += 2; 61 ND_DEFAULTPRINT(bp, length);
|
H A D | print-gre.c | 88 gre_print(netdissect_options *ndo, const u_char *bp, u_int length) argument 92 ND_TCHECK2(*bp, 2); 95 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK; 100 gre_print_0(ndo, bp, len); 103 gre_print_1(ndo, bp, len); 117 gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length) argument 122 flags = EXTRACT_16BITS(bp); 128 bp += 2; 130 ND_TCHECK2(*bp, 2); 133 prot = EXTRACT_16BITS(bp); 244 gre_print_1(netdissect_options *ndo, const u_char *bp, u_int length) argument 328 gre_sre_print(netdissect_options *ndo, uint16_t af, uint8_t sreoff, uint8_t srelen, const u_char *bp, u_int len) argument 352 gre_sre_ip_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen, const u_char *bp, u_int len) argument 389 gre_sre_asn_print(netdissect_options *ndo, uint8_t sreoff, uint8_t srelen, const u_char *bp, u_int len) argument [all...] |
H A D | print-beep.c | 41 beep_print(netdissect_options *ndo, const u_char *bp, u_int length) argument 44 if (l_strnstart("MSG", 4, (const char *)bp, length)) /* A REQuest */ 46 else if (l_strnstart("RPY ", 4, (const char *)bp, length)) 48 else if (l_strnstart("ERR ", 4, (const char *)bp, length)) 50 else if (l_strnstart("ANS ", 4, (const char *)bp, length)) 52 else if (l_strnstart("NUL ", 4, (const char *)bp, length)) 54 else if (l_strnstart("SEQ ", 4, (const char *)bp, length)) 56 else if (l_strnstart("END", 4, (const char *)bp, length))
|
H A D | print-pgm.c | 147 register const u_char *bp, register u_int length, 160 pgm = (const struct pgm_header *)bp; 228 bp = (const u_char *) (spm + 1); 232 ND_TCHECK2(*bp, sizeof(struct in_addr)); 233 addrtostr(bp, nla_buf, sizeof(nla_buf)); 234 bp += sizeof(struct in_addr); 237 ND_TCHECK2(*bp, sizeof(struct in6_addr)); 238 addrtostr6(bp, nla_buf, sizeof(nla_buf)); 239 bp += sizeof(struct in6_addr); 262 bp 146 pgm_print(netdissect_options *ndo, register const u_char *bp, register u_int length, register const u_char *bp2) argument [all...] |
H A D | print-igmp.c | 107 register const u_char *bp, register u_int len) 109 register const struct tr_query *tr = (const struct tr_query *)(bp + 8); 129 register const u_char *bp, register u_int len) 131 register const struct tr_query *tr = (const struct tr_query *)(bp + 8); 151 register const u_char *bp, register u_int len) 161 ND_TCHECK2(bp[6], 2); 162 ngroups = EXTRACT_16BITS(&bp[6]); 172 ND_TCHECK2(bp[group+4], 4); 173 ND_PRINT((ndo, " [gaddr %s", ipaddr_string(ndo, &bp[group+4]))); 175 bp[grou 106 print_mtrace(netdissect_options *ndo, register const u_char *bp, register u_int len) argument 128 print_mresp(netdissect_options *ndo, register const u_char *bp, register u_int len) argument 150 print_igmpv3_report(netdissect_options *ndo, register const u_char *bp, register u_int len) argument 204 print_igmpv3_query(netdissect_options *ndo, register const u_char *bp, register u_int len) argument 260 igmp_print(netdissect_options *ndo, register const u_char *bp, register u_int len) argument [all...] |
H A D | print-ntp.c | 207 register const struct ntpdata *bp; local 210 bp = (const struct ntpdata *)cp; 212 ND_TCHECK(bp->status); 214 version = (int)(bp->status & VERSIONMASK) >> 3; 217 mode = bp->status & MODEMASK; 229 leapind = bp->status & LEAPMASK; 234 ND_TCHECK(bp->stratum); 236 bp->stratum, 237 tok2str(ntp_stratum_values, (bp->stratum >=2 && bp [all...] |
H A D | print-ip6opts.c | 45 ip6_sopt_print(netdissect_options *ndo, const u_char *bp, int len) argument 51 if (bp[i] == IP6OPT_PAD1) 55 optlen = bp[i + 1] + 2; 62 switch (bp[i]) { 75 ND_PRINT((ndo, ", sopt_type %d: trunc)", bp[i])); 78 ND_PRINT((ndo, ", sopt_type 0x%02x: len=%d", bp[i], bp[i + 1])); 89 ip6_opt_print(netdissect_options *ndo, const u_char *bp, int len) argument 97 if (bp[i] == IP6OPT_PAD1) 101 optlen = bp[ 174 hbhopt_print(netdissect_options *ndo, register const u_char *bp) argument 194 dstopt_print(netdissect_options *ndo, register const u_char *bp) argument [all...] |
H A D | print-vjc.c | 86 vjc_print(netdissect_options *ndo, register const char *bp, u_short proto _U_) argument 90 switch (bp[0] & 0xf0) { 103 if (bp[1] & (0x80 >> i)) 106 if (bp[1]) 108 ND_PRINT((ndo, "C=0x%02x ", bp[2])); 109 ND_PRINT((ndo, "sum=0x%04x ", *(const u_short *)&bp[3])); 117 ND_PRINT((ndo, "(vjc type=0x%02x) ", bp[0] & 0xf0));
|
H A D | print-resp.c | 213 resp_print(netdissect_options *ndo, const u_char *bp, u_int length) argument 217 if(!bp || length <= 0) 228 * In order to handle this case, we must try and parse 'bp' until 231 ret_len = resp_parse(ndo, bp, length_cur); 233 bp += ret_len; 244 resp_parse(netdissect_options *ndo, register const u_char *bp, int length) argument 250 ND_TCHECK(*bp); 251 op = *bp; 253 /* bp now points to the op, so these routines must skip it */ 255 case RESP_SIMPLE_STRING: ret_len = resp_print_simple_string(ndo, bp, lengt 275 resp_print_simple_string(netdissect_options *ndo, register const u_char *bp, int length) argument 280 resp_print_integer(netdissect_options *ndo, register const u_char *bp, int length) argument 285 resp_print_error(netdissect_options *ndo, register const u_char *bp, int length) argument 290 resp_print_string_error_integer(netdissect_options *ndo, register const u_char *bp, int length) argument 325 resp_print_bulk_string(netdissect_options *ndo, register const u_char *bp, int length) argument 371 resp_print_bulk_array(netdissect_options *ndo, register const u_char *bp, int length) argument 410 resp_print_inline(netdissect_options *ndo, register const u_char *bp, int length) argument 457 resp_get_length(netdissect_options *ndo, register const u_char *bp, int len, const u_char **endp) argument [all...] |
/external/syslinux/gpxe/src/drivers/net/ |
H A D | bnx2.c | 137 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) argument 139 REG_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset); 140 return (REG_RD(bp, BNX2_PCICFG_REG_WINDOW)); 144 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) argument 146 REG_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset); 147 REG_WR(bp, BNX2_PCICFG_REG_WINDOW, val); 151 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) argument 154 REG_WR(bp, BNX2_CTX_DATA_ADR, offset); 155 REG_WR(bp, BNX2_CTX_DATA, val); 159 bnx2_read_phy(struct bnx2 *bp, u3 argument 216 bnx2_write_phy(struct bnx2 *bp, u32 reg, u32 val) argument 265 bnx2_disable_int(struct bnx2 *bp) argument 274 bnx2_alloc_mem(struct bnx2 *bp) argument 295 bnx2_report_fw_link(struct bnx2 *bp) argument 351 bnx2_report_link(struct bnx2 *bp) argument 384 bnx2_resolve_flow_ctrl(struct bnx2 *bp) argument 460 bnx2_5708s_linkup(struct bnx2 *bp) argument 489 bnx2_5706s_linkup(struct bnx2 *bp) argument 526 bnx2_copper_linkup(struct bnx2 *bp) argument 592 bnx2_set_mac_link(struct bnx2 *bp) argument 659 bnx2_set_link(struct bnx2 *bp) argument 725 bnx2_reset_phy(struct bnx2 *bp) argument 749 bnx2_phy_get_pause_adv(struct bnx2 *bp) argument 783 bnx2_setup_serdes_phy(struct bnx2 *bp) argument 896 bnx2_setup_copper_phy(struct bnx2 *bp) argument 991 bnx2_setup_phy(struct bnx2 *bp) argument 1005 bnx2_init_5708s_phy(struct bnx2 *bp) argument 1059 bnx2_init_5706s_phy(struct bnx2 *bp) argument 1082 bnx2_init_copper_phy(struct bnx2 *bp) argument 1114 bnx2_init_phy(struct bnx2 *bp) argument 1147 bnx2_fw_sync(struct bnx2 *bp, u32 msg_data, int silent) argument 1189 bnx2_init_context(struct bnx2 *bp) argument 1230 bnx2_alloc_bad_rbuf(struct bnx2 *bp) argument 1273 bnx2_set_mac_addr(struct bnx2 *bp) argument 1291 struct bnx2 *bp = &bnx2; local 1321 load_rv2p_fw(struct bnx2 *bp, u32 *rv2p_code, u32 rv2p_code_len, u32 rv2p_proc) argument 1353 load_cpu_fw(struct bnx2 *bp, struct cpu_reg *cpu_reg, struct fw_info *fw) argument 1427 bnx2_init_cpus(struct bnx2 *bp) argument 1628 bnx2_set_power_state_0(struct bnx2 *bp) argument 1656 bnx2_enable_nvram_access(struct bnx2 *bp) argument 1667 bnx2_disable_nvram_access(struct bnx2 *bp) argument 1679 bnx2_init_nvram(struct bnx2 *bp) argument 1753 bnx2_reset_chip(struct bnx2 *bp, u32 reset_code) argument 1836 struct bnx2* bp = &bnx2; local 1845 bnx2_init_chip(struct bnx2 *bp) argument 2005 bnx2_init_tx_ring(struct bnx2 *bp) argument 2037 bnx2_init_rx_ring(struct bnx2 *bp) argument 2089 bnx2_reset_nic(struct bnx2 *bp, u32 reset_code) argument 2105 bnx2_init_nic(struct bnx2 *bp) argument 2121 struct bnx2 *bp = &bnx2; local 2364 struct bnx2 *bp = &bnx2; local 2419 bnx2_poll_link(struct bnx2 *bp) argument 2494 struct bnx2 *bp = &bnx2; local 2617 struct bnx2 *bp = &bnx2; local [all...] |
H A D | b44.c | 59 static inline u32 br32(const struct b44_private *bp, u32 reg) argument 61 return readl(bp->regs + reg); 65 static inline void bw32(const struct b44_private *bp, u32 reg, u32 val) argument 67 writel(val, bp->regs + reg); 71 static inline void bflush(const struct b44_private *bp, u32 reg, u32 timeout) argument 73 readl(bp->regs + reg); 102 static u32 pending_tx_index(struct b44_private *bp) argument 104 u32 pending = br32(bp, B44_DMATX_STAT); 116 static u32 pending_rx_index(struct b44_private *bp) argument 118 u32 pending = br32(bp, B44_DMARX_STA 129 b44_wait_bit(struct b44_private *bp, unsigned long reg, u32 bit, unsigned long timeout, const int clear) argument 164 ssb_get_core_rev(struct b44_private *bp) argument 170 ssb_is_core_up(struct b44_private *bp) argument 177 ssb_pci_setup(struct b44_private *bp, u32 cores) argument 200 ssb_core_disable(struct b44_private *bp) argument 218 ssb_core_reset(struct b44_private *bp) argument 258 b44_chip_reset(struct b44_private *bp, int reset_kind) argument 310 b44_halt(struct b44_private *bp) argument 335 b44_init_hw(struct b44_private *bp, int reset_kind) argument 379 b44_populate_rx_descriptor(struct b44_private *bp, u32 idx) argument 404 b44_rx_refill(struct b44_private *bp, u32 pending) argument 424 b44_free_rx_ring(struct b44_private *bp) argument 439 b44_init_rx_ring(struct b44_private *bp) argument 458 b44_free_tx_ring(struct b44_private *bp) argument 467 b44_init_tx_ring(struct b44_private *bp) argument 486 b44_phy_read(struct b44_private *bp, int reg, u32 * val) argument 505 b44_phy_write(struct b44_private *bp, int reg, u32 val) argument 521 b44_phy_reset(struct b44_private *bp) argument 546 b44_cam_write(struct b44_private *bp, unsigned char *data, int index) argument 570 b44_set_mac_addr(struct b44_private *bp) argument 581 b44_read_eeprom(struct b44_private *bp, u8 * data) argument 591 b44_load_mac_and_phy_addr(struct b44_private *bp) argument 611 struct b44_private *bp = netdev_priv(netdev); local 643 struct b44_private *bp; local 711 struct b44_private *bp = netdev_priv(netdev); local 728 struct b44_private *bp = netdev_priv(netdev); local 742 struct b44_private *bp = netdev_priv(netdev); local 768 struct b44_private *bp = netdev_priv(netdev); local 784 struct b44_private *bp = netdev_priv(netdev); local 822 b44_tx_complete(struct b44_private *bp) argument 841 b44_process_rx_packets(struct b44_private *bp) argument 900 struct b44_private *bp = netdev_priv(netdev); local [all...] |
/external/clang/test/Parser/ |
H A D | pointer_promotion.c | 8 struct bar *bp; local 13 if (fp < bp) {} // expected-warning {{comparison of distinct pointer types ('struct foo *' and 'struct bar *')}}
|
/external/google-breakpad/src/common/mac/ |
H A D | bootstrap_compat.cc | 35 kern_return_t BootstrapRegister(mach_port_t bp, argument 38 return bootstrap_register(bp, service_name, sp);
|
/external/libunwind/src/mi/ |
H A D | _ReadSLEB.c | 8 unsigned char *bp = *dpp; local 12 byte = *bp++; 23 *dpp = bp;
|
H A D | _ReadULEB.c | 8 unsigned char *bp = *dpp; local 12 byte = *bp++; 18 *dpp = bp;
|
/external/openssh/openbsd-compat/ |
H A D | strptime.c | 70 const unsigned char *bp; local 80 bp = (unsigned char *)buf; 87 while (isspace(*bp)) 88 bp++; 101 if (c != *bp++) 126 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, 0))) 132 if (!(bp = _strptime(bp, "%m/%d/%y", tm, 0))) 138 if (!(bp [all...] |