Home
last modified time | relevance | path

Searched refs:ip_p (Results 1 – 14 of 14) sorted by relevance

/external/tcpdump/
Dprint-icmp.c371 ND_TCHECK(dp->icmp_ip.ip_p); in icmp_print()
375 dp->icmp_ip.ip_p); in icmp_print()
379 ND_TCHECK(dp->icmp_ip.ip_p); in icmp_print()
385 switch (oip->ip_p) { in icmp_print()
405 oip->ip_p, dport); in icmp_print()
Dprint-ip.c634 tok2str(ipproto_values,"unknown",ipds->ip->ip_p), in ip_print()
635 ipds->ip->ip_p)); in ip_print()
665 ipds->nh = ipds->ip->ip_p; in ip_print()
689 if (!ndo->ndo_nflag && (p_name = netdb_protoname(ipds->ip->ip_p)) != NULL) in ip_print()
692 ND_PRINT((ndo, " ip-proto-%d", ipds->ip->ip_p)); in ip_print()
Dip.h64 nd_uint8_t ip_p; /* protocol */ member
Dprint-tcp.c205 if (ip->ip_p == IPPROTO_TCP) { in tcp_print()
867 MD5_Update(&ctx, (const char *)&ip->ip_p, sizeof(ip->ip_p)); in tcp_verify_signature()
Dprint-sl.c170 lastconn = ((const struct ip *)&p[SLX_CHDR])->ip_p; in sliplink_print()
Dprint-pgm.c195 if (ip->ip_p == IPPROTO_PGM) { in pgm_print()
Dprint-udp.c347 if (ip->ip_p == IPPROTO_UDP) { in udpipaddr_print()
/external/u-boot/lib/efi_selftest/
Defi_selftest_snp.c121 p.ip_udp.ip_p = IPPROTO_UDP; in send_dhcp_discover()
346 buffer.p.ip_udp.ip_p != IPPROTO_UDP || in execute()
/external/u-boot/net/
Dping.c31 ip->ip_p = IPPROTO_ICMP; in set_icmp_header()
Dnet.c1231 if (ip->ip_p == IPPROTO_ICMP) { in net_process_received_packet()
1234 } else if (ip->ip_p != IPPROTO_UDP) { /* Only UDP packets */ in net_process_received_packet()
1248 xsum = ip->ip_p; in net_process_received_packet()
1494 ip->ip_p = IPPROTO_UDP; in net_set_udp_header()
/external/u-boot/include/
Dnet.h366 u8 ip_p; /* protocol */ member
390 u8 ip_p; /* protocol */ member
/external/u-boot/drivers/net/
Dsandbox.c115 if (ip->ip_p == IPPROTO_ICMP) { in sb_eth_send()
/external/toybox/toys/pending/
Dtraceroute.c273 && hip->ip_p == IPPROTO_UDP in do_trace()
285 && hip->ip_p == IPPROTO_ICMP in do_trace()
/external/linux-kselftest/tools/testing/selftests/net/
Dip_defrag.c236 iphdr->ip_p = IPPROTO_UDP; in send_udp_frags()