Home
last modified time | relevance | path

Searched refs:nh_off (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/sfxge/
H A Dsfxge_tx.c956 ssize_t nh_off; /* Offset of network header */ member
972 return (const struct ip *)(tso->mbuf->m_data + tso->nh_off); in tso_iph()
979 return (const struct ip6_hdr *)(tso->mbuf->m_data + tso->nh_off); in tso_ip6h()
1060 tso->nh_off = sizeof(*veh); in tso_start()
1062 tso->nh_off = sizeof(*eh); in tso_start()
1066 tso->nh_off = mbuf->m_pkthdr.l2hlen; in tso_start()
1076 tso->tcph_off = tso->nh_off + 4 * tso_iph(tso)->ip_hl; in tso_start()
1083 tso->tcph_off = tso->nh_off + sizeof(struct ip6_hdr); in tso_start()
1321 ip_length = tso->header_len - tso->nh_off + tso->seg_size; in tso_start_new_packet()
1325 ip_length = tso->header_len - tso->nh_off + tso->out_len; in tso_start_new_packet()
[all …]
/freebsd/sys/netlink/route/
H A Drt.c196 int nh_off = nlattr_save_offset(nw); in dump_rc_nhg() local
209 rtnh = nlattr_restore_offset(nw, nh_off, struct rtnexthop); in dump_rc_nhg()
214 rtnh->rtnh_len = nlattr_save_offset(nw) - nh_off; in dump_rc_nhg()