HomeSort by relevance Sort by last modified time
    Searched refs:bp (Results 1 - 25 of 901) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/tcpdump/
print-carp.c 48 carp_print(netdissect_options *ndo, register const u_char *bp, register u_int len, int ttl)
53 ND_TCHECK(bp[0]);
54 version = (bp[0] & 0xf0) >> 4;
55 type = bp[0] & 0x0f;
65 ND_TCHECK(bp[2]);
66 ND_TCHECK(bp[5]);
68 bp[1], bp[5], bp[2], bp[3]))
    [all...]
print-dvmrp.c 69 register const u_char *bp, register u_int len)
75 if (bp >= ep)
78 ND_TCHECK(bp[1]);
79 type = bp[1];
82 bp += 8;
90 if (print_probe(ndo, bp, ep, len) < 0)
98 if (print_report(ndo, bp, ep, len) < 0)
109 if (print_neighbors(ndo, bp, ep, len) < 0)
123 bp -= 4;
124 ND_TCHECK2(bp[0], 4)
    [all...]
print-otv.c 39 otv_print(netdissect_options *ndo, const u_char *bp, u_int len)
50 flags = *bp;
51 bp += 1;
53 overlay_id = EXTRACT_24BITS(bp);
54 bp += 3;
56 instance_id = EXTRACT_24BITS(bp);
57 bp += 4;
64 ether_print(ndo, bp, len - 8, len - 8, NULL, NULL);
print-geonet.c 59 const u_char *bp)
66 version = bp[0];
67 msg_type = bp[1];
75 const u_char *bp)
77 uint16_t dest = EXTRACT_16BITS(bp+0);
78 uint16_t src = EXTRACT_16BITS(bp+2);
84 const u_char *bp)
88 ND_PRINT((ndo, "GN_ADDR:%s ", linkaddr_string (ndo, bp, 0, GEONET_ADDR_LEN)));
90 if (!ND_TTEST2(*(bp+12), 8))
92 lat = EXTRACT_32BITS(bp+12)
    [all...]
print-pim.c 137 static void pimv2_print(netdissect_options *, register const u_char *bp, register u_int len, u_int cksum);
141 register const u_char *bp, register u_int len)
147 if (ND_TTEST2(bp[0], 30) && bp[11] == 1 &&
148 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) {
151 ND_PRINT((ndo, " RPF %s ", ipaddr_string(ndo, bp)));
152 hold = EXTRACT_16BITS(&bp[6]);
158 ipaddr_string(ndo, &bp[26]), bp[25] & 0x3f
    [all...]
print-calm-fast.c 35 * This is the top level routine of the printer. 'bp' points
39 calm_fast_print(netdissect_options *ndo, const u_char *eth, const u_char *bp, u_int length)
41 int srcNwref = bp[0];
42 int dstNwref = bp[1];
44 bp += 2;
51 ND_DEFAULTPRINT(bp, length);
print-vrrp.c 106 register const u_char *bp, register u_int len,
112 ND_TCHECK(bp[0]);
113 version = (bp[0] & 0xf0) >> 4;
114 type = bp[0] & 0x0f;
121 ND_TCHECK(bp[2]);
122 ND_PRINT((ndo, ", vrid %u, prio %u", bp[1], bp[2]));
123 ND_TCHECK(bp[5]);
126 auth_type = bp[4];
128 ND_PRINT((ndo, ", intvl %us, length %u", bp[5], len))
    [all...]
print-gre.c 86 gre_print(netdissect_options *ndo, const u_char *bp, u_int length)
94 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK;
99 gre_print_0(ndo, bp, len);
102 gre_print_1(ndo, bp, len);
111 gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length)
116 flags = EXTRACT_16BITS(bp);
122 bp += 2;
126 prot = EXTRACT_16BITS(bp);
128 bp += 2;
134 ND_PRINT((ndo, ", sum 0x%x", EXTRACT_16BITS(bp)));
    [all...]
print-vxlan.c 41 vxlan_print(netdissect_options *ndo, const u_char *bp, u_int len)
51 flags = *bp;
52 bp += 4;
54 vni = EXTRACT_24BITS(bp);
55 bp += 4;
61 ether_print(ndo, bp, len - 8, len - 8, NULL, NULL);
print-beep.c 40 beep_print(netdissect_options *ndo, const u_char *bp, u_int length)
43 if (l_strnstart("MSG", 4, (const char *)bp, length)) /* A REQuest */
45 else if (l_strnstart("RPY ", 4, (const char *)bp, length))
47 else if (l_strnstart("ERR ", 4, (const char *)bp, length))
49 else if (l_strnstart("ANS ", 4, (const char *)bp, length))
51 else if (l_strnstart("NUL ", 4, (const char *)bp, length))
53 else if (l_strnstart("SEQ ", 4, (const char *)bp, length))
55 else if (l_strnstart("END", 4, (const char *)bp, length))
print-igmp.c 106 register const u_char *bp, register u_int len)
108 register const struct tr_query *tr = (const struct tr_query *)(bp + 8);
128 register const u_char *bp, register u_int len)
130 register const struct tr_query *tr = (const struct tr_query *)(bp + 8);
150 register const u_char *bp, register u_int len)
160 ND_TCHECK2(bp[6], 2);
161 ngroups = EXTRACT_16BITS(&bp[6]);
171 ND_TCHECK2(bp[group+4], 4);
172 ND_PRINT((ndo, " [gaddr %s", ipaddr_string(ndo, &bp[group+4])));
174 bp[group])))
    [all...]
print-ntp.c 207 register const struct ntpdata *bp; local
210 bp = (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->stratum<=15) ? "secondary reference" : "reserved", bp->stratum)))
    [all...]
print-ip6opts.c 45 ip6_sopt_print(netdissect_options *ndo, const u_char *bp, int len)
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)
97 if (bp[i] == IP6OPT_PAD1)
101 optlen = bp[i + 1] + 2
    [all...]
print-vjc.c 76 vjc_print(netdissect_options *ndo, register const char *bp, u_short proto _U_)
80 switch (bp[0] & 0xf0) {
93 if (bp[1] & (0x80 >> i))
96 if (bp[1])
98 ND_PRINT((ndo, "C=0x%02x ", bp[2]));
99 ND_PRINT((ndo, "sum=0x%04x ", *(u_short *)&bp[3]));
107 ND_PRINT((ndo, "(vjc type=0x%02x) ", bp[0] & 0xf0));
  /external/syslinux/gpxe/src/drivers/net/
bnx2.c 137 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset)
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)
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)
154 REG_WR(bp, BNX2_CTX_DATA_ADR, offset);
155 REG_WR(bp, BNX2_CTX_DATA, val);
159 bnx2_read_phy(struct bnx2 *bp, u32 reg, u32 *val
1291 struct bnx2 *bp = &bnx2; local
1836 struct bnx2* bp = &bnx2; local
2121 struct bnx2 *bp = &bnx2; local
2364 struct bnx2 *bp = &bnx2; local
2494 struct bnx2 *bp = &bnx2; local
2617 struct bnx2 *bp = &bnx2; local
    [all...]
b44.c 59 static inline u32 br32(const struct b44_private *bp, u32 reg)
61 return readl(bp->regs + reg);
65 static inline void bw32(const struct b44_private *bp, u32 reg, u32 val)
67 writel(val, bp->regs + reg);
71 static inline void bflush(const struct b44_private *bp, u32 reg, u32 timeout)
73 readl(bp->regs + reg);
102 static u32 pending_tx_index(struct b44_private *bp)
104 u32 pending = br32(bp, B44_DMATX_STAT);
116 static u32 pending_rx_index(struct b44_private *bp)
118 u32 pending = br32(bp, B44_DMARX_STAT)
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
900 struct b44_private *bp = netdev_priv(netdev); local
    [all...]
  /external/clang/test/Parser/
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/
bootstrap_compat.cc 35 kern_return_t BootstrapRegister(mach_port_t bp,
38 return bootstrap_register(bp, service_name, sp);
  /device/linaro/bootloader/edk2/StdLib/LibC/Time/
strptime.c 88 const unsigned char *bp; local
92 bp = (const unsigned char *)buf;
94 while (bp != NULL && (c = *fmt++) != '\0') {
101 while (isspace(*bp))
102 bp++;
113 if (c != *bp++)
171 bp = (const unsigned char *)strptime((const char *)bp,
181 bp = find_string(bp, &tm->tm_wday, _ctloc(day),
    [all...]
  /external/libunwind/src/mi/
_ReadSLEB.c 8 unsigned char *bp = *dpp; local
12 byte = *bp++;
23 *dpp = bp;
_ReadULEB.c 8 unsigned char *bp = *dpp; local
12 byte = *bp++;
18 *dpp = bp;
  /bionic/libc/tzcode/
strptime.c 114 const unsigned char *bp; local
118 bp = (unsigned char *)buf;
125 while (isspace(*bp))
126 bp++;
139 if (c != *bp++)
163 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, cr)))
169 if (!(bp = _strptime(bp, "%m/%d/%y", tm, cr)))
175 if (!(bp = _strptime(bp, "%H:%M", tm, cr))
    [all...]
  /external/openssh/openbsd-compat/
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 = _strptime(bp, "%H:%M", tm, 0))
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/specialized.algorithms/uninitialized.fill/
uninitialized_fill.pass.cpp 35 B* bp = (B*)pool; local
38 std::uninitialized_fill(bp, bp+N, B());
44 assert(bp[i].data_ == 0);
47 std::uninitialized_fill(bp, bp+2, B());
49 assert(bp[i].data_ == 1);
  /external/clang/test/Sema/
block-misc.c 163 void (^bp)(int);
166 void *vp = bp;
168 f(1 ? bp : vp);
169 f(1 ? vp : bp);
170 f(1 ? bp : bp1);
171 (void)(bp > rp); // expected-error {{invalid operands}}
172 (void)(bp > 0); // expected-error {{invalid operands}}
173 (void)(bp > bp); // expected-error {{invalid operands}}
174 (void)(bp > vp); // expected-error {{invalid operands}
    [all...]

Completed in 2802 milliseconds

1 2 3 4 5 6 7 8 91011>>