Home
last modified time | relevance | path

Searched refs:offp (Results 1 – 15 of 15) sorted by relevance

/xnu-11417.101.15/bsd/netinet6/
H A Droute6.c77 route6_input(struct mbuf **mp, int *offp, int proto) in route6_input() argument
83 int off = *offp, rhlen = 0; in route6_input()
122 *offp += rhlen; in route6_input()
H A Ddest6.c84 dest6_input(struct mbuf **mp, int *offp, int proto) in dest6_input() argument
88 int off = *offp, dstoptlen = 0, optlen = 0; in dest6_input()
130 *offp = off; in dest6_input()
H A Desp6.h73 extern int esp6_input_extended(struct mbuf **mp, int *offp, int proto, ifnet_t interface);
H A Draw_ip6.c153 int *offp, in rip6_input() argument
201 if (in6_cksum(m, ip6->ip6_nxt, *offp, in rip6_input()
202 m->m_pkthdr.len - *offp)) { in rip6_input()
231 m_adj(n, *offp); in rip6_input()
271 m_adj(m, *offp); in rip6_input()
291 char *prvnxtp = ip6_get_prevhdr(m, *offp); /* XXX */ in rip6_input()
H A Din6_gif.c240 in6_gif_input(struct mbuf **mp, int *offp, int proto) in in6_gif_input() argument
260 m_adj(m, *offp); in in6_gif_input()
H A Dfrag6.c277 frag6_input(struct mbuf **mp, int *offp, int proto) in frag6_input() argument
285 int offset = *offp, i = 0, next = 0; in frag6_input()
385 *offp = offset; in frag6_input()
915 *offp = offset; in frag6_input()
H A Dudp6_usrreq.c242 udp6_input(struct mbuf **mp, int *offp, int proto) in udp6_input() argument
251 int off = *offp; in udp6_input()
568 *offp = off + sizeof(struct udphdr); in udp6_input()
569 return esp6_input(mp, offp, IPPROTO_UDP); in udp6_input()
H A Dah_input.c588 ah6_input(struct mbuf **mp, int *offp, int proto) in ah6_input() argument
594 int off = *offp; in ah6_input()
938 *offp = off; in ah6_input()
H A Desp_input.c917 esp6_input(struct mbuf **mp, int *offp, int proto) in esp6_input() argument
919 return esp6_input_extended(mp, offp, proto, NULL); in esp6_input()
923 esp6_input_extended(struct mbuf **mp, int *offp, int proto, ifnet_t interface) in esp6_input_extended() argument
928 int off = *offp; in esp6_input_extended()
1589 *offp = off; in esp6_input_extended()
H A Dicmp6.c466 icmp6_input(struct mbuf **mp, int *offp, int proto) in icmp6_input() argument
473 int off = *offp; in icmp6_input()
474 int icmp6len = m->m_pkthdr.len - *offp; in icmp6_input()
956 icmp6_rip6_input(&m, *offp); in icmp6_input()
H A Dip6_input.c1575 int *offp) in ip6_hopopts_input() argument
1578 int off = *offp, hbhlen; in ip6_hopopts_input()
1598 *offp = off; in ip6_hopopts_input()
/xnu-11417.101.15/bsd/skywalk/
H A Dos_sysctls_private.h205 void *offp = (u_int8_t *__bidi_indexable) \
208 ((uintptr_t)offp) % _Alignof(typeof(value)) == 0) { \
209 *(typeof(value)*)offp = (value); \
/xnu-11417.101.15/bsd/netinet/
H A Dip_encap.c233 encap6_input(struct mbuf **mp, int *offp, int proto) in encap6_input() argument
268 prio = (*ep->func)(m, *offp, proto, ep->arg); in encap6_input()
294 return (*psw->pr_input)(mp, offp, proto); in encap6_input()
302 return rip6_input(mp, offp, proto); in encap6_input()
H A Dtcp_input.c940 tcp6_input(struct mbuf **mp, int *offp, int proto) in tcp6_input() argument
947 IP6_EXTHDR_CHECK(m, *offp, sizeof(struct tcphdr), return IPPROTO_DONE); in tcp6_input()
971 tcp_input(m, *offp); in tcp6_input()
/xnu-11417.101.15/bsd/kern/
H A Duipc_mbuf2.c165 m_pulldown(struct mbuf *m, int off, int len, int *offp) in m_pulldown() argument
237 if ((off == 0 || offp) && len <= n->m_len - off) { in m_pulldown()
305 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown()
319 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen && in m_pulldown()
371 if (offp) { in m_pulldown()
372 *offp = off; in m_pulldown()