Searched refs:ep (Results 1 - 25 of 79) sorted by relevance

1234

/external/tcpdump/
H A Dprint-lane.c66 register const struct lecdatahdr_8023 *ep; local
68 ep = (const struct lecdatahdr_8023 *)bp;
71 EXTRACT_16BITS(&ep->le_header),
72 etheraddr_string(ep->h_source),
73 etheraddr_string(ep->h_dest),
77 EXTRACT_16BITS(&ep->le_header),
78 etheraddr_string(ep->h_source),
79 etheraddr_string(ep->h_dest),
80 etherproto_string(ep->h_type),
96 struct lecdatahdr_8023 *ep; local
[all...]
H A Dprint-ah.c47 register const u_char *ep; local
52 ep = snapend; /* 'ep' points to the end of available data. */
63 if (bp + sizeof(struct ah) + sumlen > ep)
H A Dprint-ipcomp.c54 register const u_char *ep; local
63 /* 'ep' points to the end of available data. */
64 ep = snapend;
66 if ((u_char *)(ipcomp + 1) >= ep - sizeof(struct ipcomp)) {
H A Dprint-dvmrp.c78 register const u_char *ep; local
81 ep = (const u_char *)snapend;
82 if (bp >= ep)
97 if (print_probe(bp, ep, len) < 0)
105 if (print_report(bp, ep, len) < 0)
116 if (print_neighbors(bp, ep, len) < 0)
135 if (print_neighbors2(bp, ep, len) < 0)
169 print_report(register const u_char *bp, register const u_char *ep, argument
195 if (bp + width + 1 > ep) {
226 print_probe(register const u_char *bp, register const u_char *ep, argument
259 print_neighbors(register const u_char *bp, register const u_char *ep, register u_int len) argument
290 print_neighbors2(register const u_char *bp, register const u_char *ep, register u_int len) argument
[all...]
H A Dprint-ether.c82 register const struct ether_header *ep; local
83 ep = (const struct ether_header *)bp;
86 etheraddr_string(ESRC(ep)),
87 etheraddr_string(EDST(ep)));
90 if (ntohs(ep->ether_type) <= ETHERMTU)
94 tok2str(ethertype_values,"Unknown", ntohs(ep->ether_type)),
95 ntohs(ep->ether_type));
97 if (ntohs(ep->ether_type) <= ETHERMTU)
100 (void)printf(", %s", tok2str(ethertype_values,"Unknown Ethertype (0x%04x)", ntohs(ep->ether_type)));
109 struct ether_header *ep; local
[all...]
H A Dprint-pim.c214 register const u_char *ep; local
217 ep = (const u_char *)snapend;
218 if (bp >= ep)
418 register const u_char *ep; local
421 ep = (const u_char *)snapend;
422 if (bp >= ep)
623 register const u_char *ep; local
627 ep = (const u_char *)snapend;
628 if (bp >= ep)
630 if (ep > b
[all...]
H A Dprint-rt6.c48 register const u_char *ep; local
55 /* 'ep' points to the end of available data. */
56 ep = snapend;
86 if ((u_char *)(addr + 1) > ep)
H A Dprint-esp.c346 register const u_char *ep; local
382 /* 'ep' points to the end of available data. */
383 ep = ndo->ndo_snapend;
385 if ((u_char *)(esp + 1) >= ep) {
461 if (ep - bp2 < len)
463 if (ep - bp2 > len) {
465 ep = bp2 + len;
472 ep = ep - sa->authlen;
483 EVP_Cipher(&ctx, p + ivlen, p + ivlen, ep
[all...]
H A Dprint-atalk.c387 const u_char *ep; local
400 /* ep points to end of available data */
401 ep = snapend;
402 if ((const u_char *)tp > ep) {
412 if ((const u_char *)(tp + 1) > ep) {
416 (void)nbp_name_print(tp, ep);
438 tp = nbp_tuple_print(tp, ep, snet, snode, skt);
450 print_cstring(register const char *cp, register const u_char *ep) argument
454 if (cp >= (const char *)ep) {
466 if (cp >= (const char *)ep) {
476 nbp_tuple_print(register const struct atNBPtuple *tp, register const u_char *ep, register u_short snet, register u_char snode, register u_char skt) argument
506 nbp_name_print(const struct atNBPtuple *tp, register const u_char *ep) argument
[all...]
H A Dprint-icmp6.c180 const u_int8_t *ep, *q; local
183 ep = p + l;
184 while (l > 0 && q < ep) {
243 const u_char *ep; local
249 /* 'ep' points to the end of available data. */
250 ep = snapend;
461 icmp6_rrenum_print(bp, ep);
465 icmp6_nodeinfo_print(length, bp, ep);
524 const u_char *ep; local
533 /* 'ep' point
606 const u_char *cp, *ep; local
730 const u_char *ep; local
867 dnsname_print(const u_char *cp, const u_char *ep) argument
903 icmp6_nodeinfo_print(u_int icmp6len, const u_char *bp, const u_char *ep) argument
1152 icmp6_rrenum_print(const u_char *bp, const u_char *ep) argument
[all...]
H A Dprint-isakmp.c347 isakmp_attrmap_print(const u_char *p, const u_char *ep, argument
359 if (ep < p + totlen) {
361 return ep + 1;
386 isakmp_attr_print(const u_char *p, const u_char *ep) argument
397 if (ep < p + totlen) {
399 return ep + 1;
420 const u_char *ep, u_int32_t phase, u_int32_t doi0 _U_,
469 cp = isakmp_sub_print(ISAKMP_NPTYPE_P, ext, ep, phase, doi, proto0,
480 const u_char *ep, u_int32_t phase, u_int32_t doi0,
503 cp = isakmp_sub_print(ISAKMP_NPTYPE_T, ext, ep, phas
418 isakmp_sa_print(const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep, u_int32_t phase, u_int32_t doi0 _U_, u_int32_t proto0, int depth) argument
479 isakmp_p_print(const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep, u_int32_t phase, u_int32_t doi0, u_int32_t proto0 _U_, int depth) argument
569 isakmp_t_print(const struct isakmp_gen *ext, u_int item_len, const u_char *ep, u_int32_t phase _U_, u_int32_t doi _U_, u_int32_t proto, int depth _U_) argument
974 isakmp_n_print(const struct isakmp_gen *ext, u_int item_len, const u_char *ep, u_int32_t phase, u_int32_t doi0 _U_, u_int32_t proto0 _U_, int depth) argument
1181 isakmp_sub0_print(u_char np, const struct isakmp_gen *ext, const u_char *ep, u_int32_t phase, u_int32_t doi, u_int32_t proto, int depth) argument
1220 isakmp_sub_print(u_char np, const struct isakmp_gen *ext, const u_char *ep, u_int32_t phase, u_int32_t doi, u_int32_t proto, int depth) argument
1285 const u_char *ep; local
1397 const u_char *ep; local
[all...]
H A Dutil.c49 * If ep is NULL, assume no truncation check is needed.
53 fn_print(register const u_char *s, register const u_char *ep) argument
59 while (ep == NULL || s < ep) {
81 * If ep is NULL, assume no truncation check is needed.
86 register const u_char *ep)
90 while (n > 0 && (ep == NULL || s < ep)) {
109 * If ep is NULL, assume no truncation check is needed.
114 register const u_char *ep)
85 fn_printn(register const u_char *s, register u_int n, register const u_char *ep) argument
113 fn_printzp(register const u_char *s, register u_int n, register const u_char *ep) argument
[all...]
H A Daddrtoname.c318 /* Find the hash node that corresponds the ether address 'ep' */
321 lookup_emem(const u_char *ep) argument
326 k = (ep[0] << 8) | ep[1];
327 j = (ep[2] << 8) | ep[3];
328 i = (ep[4] << 8) | ep[5];
465 etheraddr_string(register const u_char *ep) argument
473 tp = lookup_emem(ep);
512 linkaddr_string(const u_char *ep, const unsigned int len) argument
821 register struct pcap_etherent *ep; local
[all...]
H A Dprint-dhcp6.c319 dhcp6opt_print(const u_char *cp, const u_char *ep) argument
334 if (cp == ep)
336 while (cp < ep) {
337 if (ep < cp + sizeof(*dh6o))
341 if (ep < cp + sizeof(*dh6o) + optlen)
675 const u_char *ep; local
681 ep = (u_char *)snapend;
682 if (cp + length < ep)
683 ep = cp + length;
753 dhcp6opt_print(extp, ep);
[all...]
/external/bluetooth/glib/gio/
H A Dgiomodule.c71 * GIOExtensionPoint *ep;
74 * ep = g_io_extension_point_register ("my-extension-point");
75 * g_io_extension_point_set_required_type (ep, MY_TYPE_EXAMPLE);
304 GIOExtensionPoint *ep; local
313 ep = g_io_extension_point_register (G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME);
314 g_io_extension_point_set_required_type (ep, G_TYPE_DESKTOP_APP_INFO_LOOKUP);
317 ep = g_io_extension_point_register (G_LOCAL_DIRECTORY_MONITOR_EXTENSION_POINT_NAME);
318 g_io_extension_point_set_required_type (ep, G_TYPE_LOCAL_DIRECTORY_MONITOR);
320 ep = g_io_extension_point_register (G_LOCAL_FILE_MONITOR_EXTENSION_POINT_NAME);
321 g_io_extension_point_set_required_type (ep, G_TYPE_LOCAL_FILE_MONITO
417 g_io_extension_point_free(GIOExtensionPoint *ep) argument
435 GIOExtensionPoint *ep; local
473 GIOExtensionPoint *ep; local
[all...]
H A Dgvfs.c180 GIOExtensionPoint *ep; local
189 ep = g_io_extension_point_lookup (G_VFS_EXTENSION_POINT_NAME);
193 extension = g_io_extension_point_get_extension_by_name (ep, use_this);
205 for (l = g_io_extension_point_get_extensions (ep); l != NULL; l = l->next)
/external/ppp/pppd/
H A Dmultilink.c61 #define set_ip_epdisc(ep, addr) do { \
62 ep->length = 4; \
63 ep->value[0] = addr >> 24; \
64 ep->value[1] = addr >> 16; \
65 ep->value[2] = addr >> 8; \
66 ep->value[3] = addr; \
433 get_default_epdisc(ep)
434 struct epdisc *ep;
442 if (p != 0 && get_if_hwaddr(ep->value, p) >= 0) {
443 ep
[all...]
/external/giflib/
H A Dgifalloc.c255 ExtensionBlock *ep; local
267 ep = &New->ExtensionBlocks[New->ExtensionBlockCount++];
269 ep->ByteCount=Len;
270 ep->Bytes = (char *)malloc(ep->ByteCount);
271 if (ep->Bytes == NULL)
275 memcpy(ep->Bytes, ExtData, Len);
276 ep->Function = New->Function;
285 ExtensionBlock *ep; local
290 for (ep
[all...]
/external/libpcap/
H A Doptimize.c290 propedom(ep)
291 struct edge *ep;
293 SET_INSERT(ep->edom, ep->id);
294 if (ep->succ) {
295 SET_INTERSECT(ep->succ->et.edom, ep->edom, edgewords);
296 SET_INTERSECT(ep->succ->ef.edom, ep->edom, edgewords);
1310 fold_edge(child, ep)
1427 struct edge *ep; local
1520 struct edge *ep; local
[all...]
H A Dnametoaddr.c407 register u_char *ep, *e; local
410 e = ep = (u_char *)malloc(6);
420 *ep++ = d;
431 register struct pcap_etherent *ep; local
446 while ((ep = pcap_next_etherent(fp)) != NULL) {
447 if (strcmp(ep->name, name) == 0) {
450 memcpy(ap, ep->addr, 6);
/external/ipsec-tools/src/libipsec/
H A Dpfkey.c384 caddr_t ep; local
432 ep = ((caddr_t)(void *)newmsg) + len;
434 p = pfkey_setsadbmsg((void *)newmsg, ep, SADB_GETSPI,
441 p = pfkey_setsadbxsa2(p, ep, mode, reqid);
448 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, (u_int)plen,
456 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, (u_int)plen,
467 if (p + sizeof(spirange) > ep) {
482 if (p != ep) {
579 caddr_t ep; local
613 ep
760 caddr_t ep; local
1140 caddr_t ep; local
1222 caddr_t ep; local
1499 caddr_t ep; local
1583 caddr_t ep; local
1652 caddr_t ep; local
1741 caddr_t ep; local
1934 caddr_t ep; /* XXX should be passed from upper layer */ local
[all...]
/external/iptables/extensions/
H A Dlibip6t_ah.c34 char* ep; local
36 spi = strtoul(spistr, &ep, 0);
38 if ( spistr == ep )
47 if ( *spistr != '\0' && *ep != '\0' )
H A Dlibip6t_esp.c30 char* ep; local
32 spi = strtoul(spistr, &ep, 0);
34 if ( spistr == ep ) {
42 if ( *spistr != '\0' && *ep != '\0' ) {
H A Dlibipt_ah.c31 char* ep; local
33 spi = strtoul(spistr,&ep,0) ;
35 if ( spistr == ep ) {
43 if ( *spistr != '\0' && *ep != '\0' ) {
H A Dlibipt_esp.c31 char* ep; local
33 spi = strtoul(spistr,&ep,0) ;
35 if ( spistr == ep ) {
43 if ( *spistr != '\0' && *ep != '\0' ) {

Completed in 228 milliseconds

1234