/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip.h | 103 u_char ip_p; /* protocol */ member in struct:ip
|
H A D | ip_input.c | 656 if ((pr_input = ip_protox[ip->ip_p]->pr_input) == NULL) { 658 } else if (!(ip_protox[ip->ip_p]->pr_flags & PR_PROTOLOCK)) { 777 ip_proto_dispatch_in(m, hlen, ip->ip_p, inject_filter_ref); 793 ip->ip_src.s_addr, ip->ip_p, ip->ip_off, ip->ip_len); 1014 if (rsvp_on && ip->ip_p==IPPROTO_RSVP) 1138 if (ip->ip_p == IPPROTO_IGMP) 1167 && ip->ip_p == IPPROTO_UDP) { 1226 ip->ip_p == fp->ipq_p) { 1252 ip->ip_p == fp->ipq_p) 1381 if (ipsec_bypass == 0 && (ip_protox[ip->ip_p] [all...] |
H A D | in_gif.c | 173 iphdr.ip_p = proto; 246 proto = ip->ip_p;
|
H A D | ip_icmp.c | 224 if (oip->ip_p == IPPROTO_ICMP && type != ICMP_REDIRECT && 304 nip->ip_p = IPPROTO_ICMP; 462 printf("deliver to protocol %d\n", icp->icmp_ip.ip_p); 470 ctlfunc = ip_protox[icp->icmp_ip.ip_p]->pr_ctlinput; 1117 if (ip->ip_p != IPPROTO_ICMP)
|
H A D | ip_output.c | 384 mtod(m, struct ip *)->ip_p); 534 ip->ip_src.s_addr, ip->ip_p, ip->ip_off, ip->ip_len); 1773 ip->ip_src.s_addr, ip->ip_p, ip->ip_off, ip->ip_len); 2037 ip_out_cksum_stats(ip->ip_p, ip_len - offset); 2060 m->m_len, offset + ip_offset, ip->ip_p); 2177 ip_offset + offsetof(struct ip, ip_sum), ip->ip_p); 3147 if (ifa == NULL && ip->ip_p != IPPROTO_UDP && 3148 ip->ip_p != IPPROTO_TCP && ipforwarding) {
|
H A D | ip_encap.c | 180 proto = ip->ip_p;
|
H A D | raw_ip.c | 216 if (inp->inp_ip_p && (inp->inp_ip_p != ip->ip_p)) 394 ip->ip_p = inp->inp_ip_p;
|
H A D | tcp_lro.c | 729 if (ip_hdr->ip_p != IPPROTO_TCP) { 770 ip_proto_dispatch_in_wrapper(m, ip_hdr->ip_hl << 2, ip_hdr->ip_p);
|
H A D | ip_mroute.c | 1108 if (rsvpdebug && ip->ip_p == IPPROTO_RSVP) { 1119 if (rsvpdebug && ip->ip_p == IPPROTO_RSVP) { 1898 if (ip->ip_p == IPPROTO_UDP) {
|
H A D | ip_compat.h | 572 __u8 ip_p;
|
H A D | in_dhcp.c | 188 pkt->ip.ip_p = IPPROTO_UDP;
|
H A D | ip_fw2.c | 1172 switch (ip->ip_p) { 1213 len = snprintf(SNPARGS(proto, 0), "P:%d %s", ip->ip_p, 1751 ip->ip_p = IPPROTO_TCP; 2032 proto = args->fwa_id.proto = ip->ip_p;
|
H A D | igmp.c | 2426 ip->ip_p = IPPROTO_IGMP; 3771 ip->ip_p = IPPROTO_IGMP;
|
H A D | tcp_subr.c | 515 ip->ip_p = IPPROTO_TCP; 737 htons((u_short)(tlen - sizeof(struct ip) + ip->ip_p)));
|
/darwin-on-arm/xnu/osfmk/kdp/ |
H A D | kdp_udp.h | 112 u_char ip_p; /* protocol */ member in struct:ip
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ah_output.c | 283 ahdr->ah_nxt = ip->ip_p; 293 ahdr->ah_nxt = ip->ip_p; 321 ip->ip_p = IPPROTO_AH;
|
H A D | esp_input.c | 155 ip->ip_p = IPPROTO_ESP; 205 if (ip->ip_p != IPPROTO_ESP && 206 !(ip->ip_p == IPPROTO_UDP && off >= sizeof(struct udphdr))) { 426 if (ip->ip_p == IPPROTO_UDP) { 620 ip->ip_p = nxt;
|
H A D | esp_output.c | 405 if (ip->ip_p != IPPROTO_UDP) { 847 return esp_output(m, &ip->ip_p, m->m_next, AF_INET, sav);
|
H A D | ipcomp_input.c | 203 ip->ip_p = nxt;
|
H A D | ipcomp_output.c | 361 return ipcomp_output(m, &ip->ip_p, m->m_next, AF_INET, sav);
|
H A D | ipsec.c | 1041 nxt = ip.ip_p; 2304 ip->ip_p = IPPROTO_IPIP; 2397 ip->ip_p = IPPROTO_IPIP; 2570 ip->ip_p = IPPROTO_IPV6; 3060 if (ip->ip_p == IPPROTO_UDP) { 4442 ip->ip_p = IPPROTO_UDP;
|
H A D | ah_input.c | 574 ip->ip_p = nxt;
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_stf.c | 597 ip->ip_p = IPPROTO_IPV6; 754 proto = ip->ip_p;
|
H A D | pf_norm.c | 438 key->fr_p = ip->ip_p; 534 (*frag)->fr_p = frent->fr_ip->ip_p; 733 (*frag)->fr_p = h->ip_p; 1552 else if (r->proto && r->proto != h->ip_p)
|
H A D | if_bond.c | 1382 #define IP_SRC_OFFSET (offsetof(struct ip, ip_src) - offsetof(struct ip, ip_p)) 1383 #define IP_DST_OFFSET (offsetof(struct ip, ip_dst) - offsetof(struct ip, ip_p)) 1391 u_char ip_p; local 1396 offset = offsetof(struct ip, ip_p) + sizeof(struct ether_header); 1402 ip_p = *data; 1421 return (ntohl(ip_dst.s_addr) ^ ntohl(ip_src.s_addr) ^ ((uint32_t)ip_p));
|