Home
last modified time | relevance | path

Searched refs:off0 (Results 1 – 6 of 6) sorted by relevance

/xnu-12377.81.4/bsd/skywalk/packet/
H A Dpacket_copy.c226 uint16_t sbcnt, off0 = soff; in _pkt_copyaddr_sum() local
263 __func__, SK_KVA(spkt), off0, len0); in _pkt_copyaddr_sum()
1041 int off0 = soff; in m_copypkt_sum() local
1055 __func__, m0, off0, len0); in m_copypkt_sum()
1068 __func__, m0, off0, len0); in m_copypkt_sum()
1084 "len %d]", __func__, m0, off0, len0); in m_copypkt_sum()
1106 "len %d]", __func__, m0, off0, len0); in m_copypkt_sum()
1952 int off0 = off, len0 = len; in m_copydata_sum() local
1967 __func__, m0, off0, len0); in m_copydata_sum()
1988 __func__, m0, off0, len); in m_copydata_sum()
/xnu-12377.81.4/tests/skywalk/
H A Dskt_copy_cksum.c88 int off0 = off, len0 = len; in m_copydata_sum() local
103 __func__, m0, off0, len0); in m_copydata_sum()
124 __func__, m0, off0, len0); in m_copydata_sum()
/xnu-12377.81.4/bsd/kern/
H A Duipc_mbuf.c3051 m_copym_mode(struct mbuf *m, int off0, int len0, int wait, in m_copym_mode() argument
3055 int off = off0, len = len0; in m_copym_mode()
3072 if (off0 >= *m_off) { in m_copym_mode()
3074 off = off0 - *m_off; in m_copym_mode()
3115 n->m_pkthdr.len -= off0; in m_copym_mode()
3156 *m_off = off0 + len0 - (off + n->m_len); in m_copym_mode()
3173 m_copym(struct mbuf *m, int off0, int len, int wait) in m_copym() argument
3175 return m_copym_mode(m, off0, len, wait, NULL, NULL, M_COPYM_MOVE_HDR); in m_copym()
3187 m_copym_with_hdrs(struct mbuf *m0, int off0, int len0, int wait, in m_copym_with_hdrs() argument
3191 int off = off0, len = len0; in m_copym_with_hdrs()
[all …]
H A Duipc_mbuf2.c1202 uint32_t off = bytes, off0 = off; in m_adj_sum16() local
1207 "len %u]", __func__, m0, off0, len); in m_adj_sum16()
H A Duipc_mbuf_mcache.c4076 m_copym_with_hdrs(struct mbuf *m0, int off0, int len0, int wait, argument
4080 int off = off0, len = len0;
4093 if (off0 >= *m_off) {
4095 off = off0 - *m_off;
4179 *m_off = off0 + len0 - (off + n->m_len);
/xnu-12377.81.4/bsd/netinet/
H A Dtcp_input.c2752 tcp_input(struct mbuf *m, int off0) in tcp_input() argument
2838 tlen = sizeof(*ip6) + ntohs(ip6->ip6_plen) - off0; in tcp_input()
2839 th = (struct tcphdr *)(void *)((caddr_t)ip6 + off0); in tcp_input()
2841 if (tcp_input_checksum(AF_INET6, m, th, off0, tlen)) { in tcp_input()
2875 if (off0 > sizeof(struct ip)) { in tcp_input()
2877 off0 = sizeof(struct ip); in tcp_input()
2890 th = (struct tcphdr *)(void *)((caddr_t)ip + off0); in tcp_input()
2893 if (tcp_input_checksum(AF_INET, m, th, off0, tlen)) { in tcp_input()
2928 IP6_EXTHDR_CHECK(m, off0, off, return ); in tcp_input()
2930 th = (struct tcphdr *)(void *)((caddr_t)ip6 + off0); in tcp_input()
[all …]