/xnu-2422.115.4/bsd/netinet6/ |
H A D | in6_cksum.c | 182 * m MUST contain at least an IPv6 header, if nxt is specified; 183 * nxt is the upper layer protocol number; 188 inet6_cksum(struct mbuf *m, uint32_t nxt, uint32_t off, uint32_t len) argument 194 if (nxt != 0) { 227 htonl(nxt + len));
|
H A D | ipcomp_input.c | 94 u_int16_t nxt; local 121 nxt = ipcomp->comp_nxt; 203 ip->ip_p = nxt; 216 if (nxt != IPPROTO_DONE) { 217 if ((ip_protox[nxt]->pr_flags & PR_LASTHDR) != 0 && 227 ip_proto_dispatch_in(m, off, nxt, 0); 255 u_int16_t nxt; local 278 nxt = ipcomp->comp_nxt; 327 *prvnxtp = nxt; 346 return nxt; [all...] |
H A D | ip6_input.c | 453 int nxt = 0, ours = 0; local 525 nxt = ip6->ip6_nxt; 986 nxt = hbh->ip6h_nxt; 1009 nxt = ip6->ip6_nxt; 1135 while (nxt != IPPROTO_DONE) { 1162 (ip6_protox[nxt]->pr_flags & PR_LASTHDR) != 0) { 1185 (mbuf_t *)&m, off, nxt); 1203 if ((pr_input = ip6_protox[nxt]->pr_input) == NULL) { 1206 nxt = IPPROTO_DONE; 1207 } else if (!(ip6_protox[nxt] 1717 int nxt = ip6->ip6_nxt, off = sizeof (struct ip6_hdr); local 1957 int len, nxt; local 2066 int nxt; local [all...] |
H A D | esp_input.c | 172 u_int16_t nxt; local 405 nxt = esptail.esp_nxt; 455 if (sav->utun_is_keepalive_fn(sav->utun_pcb, &m, nxt, sav->flags, (off + esplen + ivlen))) { 466 if (ipsec4_tunnel_validate(m, off + esplen + ivlen, nxt, sav, &ifamily)) { 595 nxt = IPPROTO_DONE; 619 ip->ip_p = nxt; 633 if (nxt == IPPROTO_TCP || nxt == IPPROTO_UDP) { 638 if (nxt != IPPROTO_DONE) { 639 if ((ip_protox[nxt] 735 u_int16_t nxt; local [all...] |
H A D | ah_input.c | 138 u_int16_t nxt; local 172 nxt = ah->ah_nxt; 427 if (ipsec4_tunnel_validate(m, off + stripsiz, nxt, sav, &ifamily)) { 515 nxt = IPPROTO_DONE; 573 ip->ip_p = nxt; 586 if (nxt != IPPROTO_DONE) { 587 if ((ip_protox[nxt]->pr_flags & PR_LASTHDR) != 0 && 592 ip_proto_dispatch_in(m, off, nxt, 0); 635 u_int16_t nxt; local 654 nxt [all...] |
H A D | ip6_fw.c | 188 int *off, int *nxt, u_short *offset)); 194 struct ifnet *rif, struct ifnet *oif, int off, int nxt)); 296 int *off, int *nxt, u_short *offset) 306 *nxt = ip6->ip6_nxt; 314 switch(*nxt) { 332 switch (*nxt) { 361 *nxt = ip6e->ip6e_nxt; 418 struct ifnet *rif, struct ifnet *oif, int off, int nxt) 474 switch (nxt) { 515 len = snprintf(SNPARGS(proto, 0), "P:%d [%s]", nxt, 295 ip6opts_match(struct ip6_hdr **pip6, struct ip6_fw *f, struct mbuf **m, int *off, int *nxt, u_short *offset) argument 417 ip6fw_report(struct ip6_fw *f, struct ip6_hdr *ip6, struct ifnet *rif, struct ifnet *oif, int off, int nxt) argument 566 int off = sizeof(struct ip6_hdr), nxt = ip6->ip6_nxt; local [all...] |
H A D | ipsec.c | 1194 u_int8_t nxt; local 1215 nxt = ip.ip_p; 1222 switch (nxt) { 1224 spidx->ul_proto = nxt; 1236 spidx->ul_proto = nxt; 1252 nxt = ip6e.ip6e_nxt; 1257 spidx->ul_proto = nxt; 1304 int off, nxt; local 1320 nxt = -1; 1321 off = ip6_lasthdr(m, 0, IPPROTO_IPV6, &nxt); 4081 u_int8_t nxt = nxt0 & 0xff; local 4199 u_int8_t nxt = nxt0 & 0xff; local [all...] |
H A D | frag6.c | 284 int offset = *offp, nxt, i, next; local 752 nxt = q6->ip6q_nxt; 754 *q6->ip6q_nxtp = (u_char)(nxt & 0xff); 782 *prvnxtp = nxt; 807 return (nxt);
|
H A D | esp_output.c | 247 u_int8_t nxt = 0; local 643 nxt = *nexthdrp; 662 esptail->esp_nxt = nxt;
|
H A D | icmp6.c | 288 int nxt; local 343 nxt = -1; 344 off = ip6_lasthdr(m, 0, IPPROTO_IPV6, &nxt); 345 if (off >= 0 && nxt == IPPROTO_ICMPV6) { 938 u_int8_t nxt = eip6->ip6_nxt; local 952 switch (nxt) { 971 if (nxt == IPPROTO_AH) 975 nxt = eh->ip6e_nxt; 1031 nxt = rth->ip6r_nxt; 1058 nxt [all...] |
H A D | ah_core.c | 1501 int proto, nxt; local 1517 nxt = -1; 1521 newoff = ip6_nexthdr(m, off, proto, &nxt); 1687 proto = nxt;
|
H A D | ip6_output.c | 250 * header (with pri, len, nxt, hlim, src, dst). 1697 uint8_t nxt; local 1729 nxt = ip6->ip6_nxt; 1735 if (plen != 0 || nxt != IPPROTO_HOPOPTS) { 1740 (uint64_t)VM_KERNEL_ADDRPERM(m), nxt, 1750 if (nxt != IPPROTO_TCP && nxt != IPPROTO_UDP) { 1758 nxt = nxt0; 1791 m, mlen, nxt, ulpoff, m->m_pkthdr.csum_flags); 1798 ip6_out_cksum_stats(nxt, ple [all...] |
/xnu-2422.115.4/bsd/net/ |
H A D | if_utun_crypto_ipsec.h | 98 utun_pkt_is_ipsec_keepalive(struct utun_pcb *pcb, mbuf_t *pkt, u_int16_t nxt, u_int32_t flags, size_t off);
|
H A D | if_utun_crypto_ipsec.c | 940 utun_pkt_is_ipsec_keepalive (struct utun_pcb *pcb, mbuf_t *pkt, u_int16_t nxt, u_int32_t flags, size_t offs) argument 989 nxt == IPPROTO_IPV4 &&
|
H A D | pf.c | 8629 u_int8_t nxt; local 8661 nxt = h->ip6_nxt; 8671 pd.proto = nxt; 8738 switch (nxt) { 8752 pd.proto = nxt = ip6f.ip6f_nxt; 8791 nxt = opt6.ip6e_nxt;
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | in_cksum.c | 437 * m MUST contain at least an IP header, if nxt is specified; 438 * nxt is the upper layer protocol number; 443 inet_cksum(struct mbuf *m, uint32_t nxt, uint32_t off, uint32_t len) argument 450 if (nxt != 0) { 483 htonl(len + nxt));
|
H A D | tcp_timer.c | 476 struct inpcb *inp, *nxt; local 513 LIST_FOREACH_SAFE(inp, &tcb, inp_list, nxt) {
|
/xnu-2422.115.4/tools/lldbmacros/ |
H A D | mbufs.py | 598 nxt = 0 604 nxt = nxt + 1 609 if (((pkt + nxt) % 50) == 0): 612 print "Total: " + str(pkt + nxt) + " (via m_next: " + str(nxt) + ")"
|
/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_resident.c | 2489 vm_page_t nxt; local 2515 nxt = (vm_page_t)(mem->pageq.next); 2552 mem = nxt; 2566 nxt = (vm_page_t)(mem->pageq.next); 2577 mem = nxt;
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kpi_mbuf.c | 793 inet6_cksum(__unused struct mbuf *m, __unused unsigned int nxt, argument
|