| /src/sys/netinet/ |
| raw_ip.c | 187 if (in4p_ip(inp).ip_p && in4p_ip(inp).ip_p != proto) 220 } else if (inetsw[ip_protox[ip->ip_p]].pr_input == rip_input) { 248 if (in4p_ip(inp).ip_p && in4p_ip(inp).ip_p != proto) 281 ip->ip_src, ip->ip_p, errno, notify); 336 ip->ip_p = in4p_ip(inp).ip_p; 530 in4p_ip(inp).ip_p = proto;
|
| ip.h | 70 u_int8_t ip_p; /* protocol */ member in struct:ip
|
| ip_reass.c | 263 fp->ipq_p = ip->ip_p; 666 if (ip->ip_p != fp->ipq_p)
|
| /src/sys/external/bsd/ipf/netinet/ |
| ip_ipsec_pxy.c | 223 p = ip->ip_p; 224 ip->ip_p = IPPROTO_ESP; 254 ip->ip_p = p & 0xff; 283 p = ip->ip_p; 291 ip->ip_p = IPPROTO_ESP; 337 ip->ip_p = p;
|
| ip_raudio_pxy.c | 272 swp = ip->ip_p; 276 ip->ip_p = IPPROTO_UDP; 339 ip->ip_p = swp;
|
| ip_pptp_pxy.c | 206 p = ip->ip_p; 223 ip->ip_p = IPPROTO_GRE; 270 ip->ip_p = p;
|
| /src/sys/lib/libsa/ |
| ip.c | 97 ip->ip_p = proto; 149 if (ip->ip_v != IPVERSION || ip->ip_p != proto) {
|
| /src/sys/net/agr/ |
| if_agrether_hash.c | 122 hash = HASH(&ip->ip_p, sizeof(ip->ip_p), hash);
|
| /src/sys/arch/mvme68k/stand/sboot/ |
| etherfun.c | 121 iph->ip_p = IPP_UDP; 175 (iph->ip_p != IPP_UDP)) {
|
| etherfun.h | 82 u_char ip_p; /* protocol */ member in struct:ip
|
| /src/sys/dev/pci/ixgbe/ |
| if_fdir.c | 116 switch (ip->ip_p) {
|
| /src/usr.sbin/mrouted/ |
| igmp.c | 61 ip->ip_p = IPPROTO_IGMP; 146 if (ip->ip_p == 0) {
|
| /src/sys/arch/xen/xen/ |
| xennet_checksum.c | 117 nxt = iph->ip_p;
|
| /src/sys/net/ |
| slcompress.c | 421 ip->ip_p = cs->cs_id; 489 if (ip->ip_p >= MAX_STATES) 491 cs = &comp->rstate[comp->last_recv = ip->ip_p]; 493 ip->ip_p = IPPROTO_TCP;
|
| rss_config.c | 110 switch (ip->ip_p) {
|
| ether_sw_offload.c | 272 proto = ip->ip_p;
|
| /src/sys/netmpls/ |
| mpls_ttl.c | 193 if (oip->ip_p == IPPROTO_ICMP && type != ICMP_REDIRECT && 306 nip->ip_p = IPPROTO_ICMP;
|
| /src/sys/netipsec/ |
| ipsec_output.c | 214 ip->ip_p = IPPROTO_UDP; 622 off = offsetof(struct ip, ip_p); 808 off = offsetof(struct ip, ip_p);
|
| ipsec_input.c | 140 switch (ip->ip_p) { 355 (void)ipsec_common_input(m, off, offsetof(struct ip, ip_p), 421 prot = ip->ip_p;
|
| xform_ipip.c | 384 ipo->ip_p = IPPROTO_IPIP; 404 ipo->ip_p = IPPROTO_IPV6;
|
| /src/sbin/ping/ |
| ping.c | 574 opack_ip->ip_p = IPPROTO_ICMP; 1526 if (ip->ip_p == IPPROTO_ICMP 1781 ip->ip_ttl, ip->ip_p, ip->ip_sum); 1849 if (ip->ip_p == IPPROTO_TCP) { 1853 } else if (ip->ip_p == IPPROTO_UDP) { 1857 } else if (ip->ip_p == IPPROTO_ICMP) {
|
| /src/regress/sys/net/frag/ |
| ip4_frag_1.c | 111 ip->ip_p = IPPROTO_ICMP;
|
| /src/usr.sbin/ndbootd/config/ |
| ndbootd-bpf.c | 82 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, sizeof(struct ether_header) + NDBOOTD_OFFSETOF(struct ip, ip_p)),
|
| /src/sys/net/npf/ |
| npf_sendpkt.c | 142 ip->ip_p = IPPROTO_TCP;
|
| /src/tests/net/icmp/ |
| t_ping.c | 401 ip->ip_p = IPPROTO_ICMP;
|