Searched refs:nxt (Results 1 - 15 of 15) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dipcomp_input.c92 u_int16_t nxt; local
116 nxt = ipcomp->comp_nxt;
198 ip->ip_p = nxt;
211 if (nxt != IPPROTO_DONE) {
212 if ((ip_protox[nxt]->pr_flags & PR_LASTHDR) != 0 &&
217 ip_proto_dispatch_in(m, off, nxt, 0);
246 u_int16_t nxt; local
265 nxt = ipcomp->comp_nxt;
314 *prvnxtp = nxt;
333 return nxt;
[all...]
H A Dip6_input.c362 int nxt = 0, ours = 0; local
374 nxt = ip6->ip6_nxt;
825 nxt = hbh->ip6h_nxt;
834 nxt = ip6->ip6_nxt;
912 while (nxt != IPPROTO_DONE) {
936 if (mhist && M_TRAILINGSPACE(mhist) >= sizeof(nxt)) {
938 bcopy(&nxt, hist, sizeof(nxt));
939 mhist->m_len += sizeof(nxt);
952 if ((ipsec_bypass == 0) && (ip6_protox[nxt]
1406 int proto, off, nxt; local
1438 int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr); local
1628 int len, nxt; local
1746 int nxt; local
[all...]
H A Desp_input.c123 u_int16_t nxt; local
343 nxt = esptail.esp_nxt;
365 if (ipsec4_tunnel_validate(m, off + esplen + ivlen, nxt, sav, &ifamily)) {
445 nxt = IPPROTO_DONE;
469 ip->ip_p = nxt;
483 if (nxt == IPPROTO_TCP || nxt == IPPROTO_UDP) {
488 if (nxt != IPPROTO_DONE) {
489 if ((ip_protox[nxt]->pr_flags & PR_LASTHDR) != 0 &&
500 if (nxt !
570 u_int16_t nxt; local
[all...]
H A Dah_input.c110 u_int16_t nxt; local
138 nxt = ah->ah_nxt;
390 if (ipsec4_tunnel_validate(m, off + stripsiz, nxt, sav, &ifamily)) {
457 nxt = IPPROTO_DONE;
515 ip->ip_p = nxt;
524 if (nxt != IPPROTO_DONE) {
525 if ((ip_protox[nxt]->pr_flags & PR_LASTHDR) != 0 &&
530 ip_proto_dispatch_in(m, off, nxt, 0);
572 u_int16_t nxt; local
588 nxt
[all...]
H A Dip6_fw.c188 int *off, int *nxt, u_short *offset));
194 struct ifnet *rif, struct ifnet *oif, int off, int nxt));
293 int *off, int *nxt, u_short *offset)
303 *nxt = ip6->ip6_nxt;
311 switch(*nxt) {
329 switch (*nxt) {
358 *nxt = ip6e->ip6e_nxt;
411 struct ifnet *rif, struct ifnet *oif, int off, int nxt)
467 switch (nxt) {
508 len = snprintf(SNPARGS(proto, 0), "P:%d [%s]", nxt,
292 ip6opts_match(struct ip6_hdr **pip6, struct ip6_fw *f, struct mbuf **m, int *off, int *nxt, u_short *offset) argument
410 ip6fw_report(struct ip6_fw *f, struct ip6_hdr *ip6, struct ifnet *rif, struct ifnet *oif, int off, int nxt) argument
559 int off = sizeof(struct ip6_hdr), nxt = ip6->ip6_nxt; local
[all...]
H A Din6_cksum.c95 inet6_cksum(struct mbuf *m, unsigned int nxt, unsigned int off, argument
126 if (nxt != 0) {
135 uph.ph.ph_nxt = nxt;
H A Dfrag6.c146 int offset = *offp, nxt, i, next; local
499 nxt = q6->ip6q_nxt;
501 *q6->ip6q_nxtp = (u_char)(nxt & 0xff);
530 *prvnxtp = nxt;
556 return nxt;
H A Dipsec.c999 u_int8_t nxt; local
1020 nxt = ip.ip_p;
1027 switch (nxt) {
1029 spidx->ul_proto = nxt;
1041 spidx->ul_proto = nxt;
1057 nxt = ip6e.ip6e_nxt;
1062 spidx->ul_proto = nxt;
1108 int off, nxt; local
1124 nxt = -1;
1125 off = ip6_lasthdr(m, 0, IPPROTO_IPV6, &nxt);
3630 u_int8_t nxt = nxt0 & 0xff; local
3736 u_int8_t nxt = nxt0 & 0xff; local
[all...]
H A Desp_output.c219 u_int8_t nxt = 0; local
615 nxt = *nexthdrp;
634 esptail->esp_nxt = nxt;
H A Dicmp6.c225 int nxt; local
272 nxt = -1;
273 off = ip6_lasthdr(m, 0, IPPROTO_IPV6, &nxt);
274 if (off >= 0 && nxt == IPPROTO_ICMPV6) {
885 u_int8_t nxt = eip6->ip6_nxt; local
899 switch (nxt) {
918 if (nxt == IPPROTO_AH)
922 nxt = eh->ip6e_nxt;
978 nxt = rth->ip6r_nxt;
1005 nxt
[all...]
H A Dah_core.c1434 int proto, nxt; local
1450 nxt = -1;
1454 newoff = ip6_nexthdr(m, off, proto, &nxt);
1620 proto = nxt;
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Din_cksum.c148 inet_cksum(struct mbuf *m, unsigned int nxt, unsigned int skip, argument
165 if (nxt != 0) {
173 htonl(len + nxt));
238 inet_cksum(struct mbuf *m, unsigned int nxt, unsigned int skip, argument
257 if (nxt != 0) {
265 htonl(len + nxt));
H A Dtcp_timer.c361 struct inpcb *inp, *nxt; local
540 LIST_FOREACH_SAFE(inp, &tcb, inp_list, nxt) {
545 LIST_FOREACH_SAFE(inp, &time_wait_slots[cur_tw_slot], inp_list, nxt) {
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_resident.c2143 vm_page_t nxt; local
2171 nxt = (vm_page_t)(mem->pageq.next);
2196 mem = nxt;
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkpi_mbuf.c724 inet6_cksum(__unused struct mbuf *m, __unused unsigned int nxt, argument

Completed in 89 milliseconds