Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-icmp.c374 TCHECK(dp->icmp_ip.ip_p); in icmp_print()
378 dp->icmp_ip.ip_p); in icmp_print()
382 TCHECK(dp->icmp_ip.ip_p); in icmp_print()
388 switch (oip->ip_p) { in icmp_print()
408 oip->ip_p, dport); in icmp_print()
Dprint-ip.c612 tok2str(ipproto_values,"unknown",ipds->ip->ip_p), in ip_print()
613 ipds->ip->ip_p); in ip_print()
643 ipds->nh = ipds->ip->ip_p; in ip_print()
664 if (!ndo->ndo_nflag && (proto = getprotobynumber(ipds->ip->ip_p)) != NULL) in ip_print()
667 (void)printf(" ip-proto-%d", ipds->ip->ip_p); in ip_print()
Dip.h62 u_int8_t ip_p; /* protocol */ member
Dprint-tcp.c205 if (ip->ip_p == IPPROTO_TCP) {
822 MD5_Update(&ctx, (char *)&ip->ip_p, sizeof(ip->ip_p));
Dprint-sl.c144 lastconn = ((struct ip *)&p[SLX_CHDR])->ip_p; in sliplink_print()
Dprint-pgm.c226 if (ip->ip_p == IPPROTO_PGM) { in pgm_print()
Dprint-udp.c336 if (ip->ip_p == IPPROTO_UDP) { in udpipaddr_print()
/external/qemu/slirp-android/
Dip_input.c138 if (ip_getn(ip->ip_dst) == 0xffffffffu && ip->ip_p != IPPROTO_UDP) in ip_input()
197 ip->ip_p == fp->ipq_p) in ip_input()
239 switch (ip->ip_p) { in ip_input()
297 fp->ipq_p = ip->ip_p; in ip_reass()
Dip_icmp.c234 if(ip->ip_p == IPPROTO_ICMP) { in icmp_error()
305 ip->ip_p = IPPROTO_ICMP; in icmp_error()
Dip.h93 u_int8_t ip_p; /* protocol */ member
/external/qemu/slirp/
Dip_input.c138 if (ip->ip_dst.s_addr == 0xffffffff && ip->ip_p != IPPROTO_UDP) in ip_input()
197 ip->ip_p == fp->ipq_p) in ip_input()
239 switch (ip->ip_p) { in ip_input()
297 fp->ipq_p = ip->ip_p; in ip_reass()
Dip_icmp.c232 if(ip->ip_p == IPPROTO_ICMP) { in icmp_error()
303 ip->ip_p = IPPROTO_ICMP; in icmp_error()
Dip.h91 u_int8_t ip_p; /* protocol */ member
/external/dnsmasq/src/
Dbpf.c201 ip.ip_p = IPPROTO_UDP; in send_via_bpf()
/external/dhcpcd/
Dnet.c725 ip->ip_p = IPPROTO_UDP; in make_udp_packet()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_os_userspace.h375 u_char ip_p; member
Dsctp_output.c4277 ip->ip_p = IPPROTO_UDP;
4279 ip->ip_p = IPPROTO_SCTP;
11591 ip->ip_p = IPPROTO_UDP;
11593 ip->ip_p = IPPROTO_SCTP;
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_socket.c2802 use_udp_tunneling = (ip->ip_p == IPPROTO_UDP);