Searched refs:l3_len (Results 1 – 2 of 2) sorted by relevance
806 uint32_t l3_len = 0; in pktsched_kpkt_mark_ecn() local808 l3_len = kpkt->pkt_length - kpkt->pkt_l2_len; in pktsched_kpkt_mark_ecn()809 l3_hdr = __unsafe_forge_bidi_indexable(uint8_t *, kpkt->pkt_flow_ip_hdr, l3_len); in pktsched_kpkt_mark_ecn()
1975 size_t l3_len = sizeof(struct ip6_hdr); in if_ports_used_match_mbuf() local1980 if (pkt_data_len < l3_len) { in if_ports_used_match_mbuf()1983 pkt_data_len -= l3_len; in if_ports_used_match_mbuf()1999 l3_len += sizeof(struct ip6_frag); in if_ports_used_match_mbuf()2024 error = mbuf_copydata(m, l3_len, sizeof(struct tcphdr), &th); in if_ports_used_match_mbuf()2057 error = mbuf_copydata(m, l3_len, sizeof(struct udphdr), &uh); in if_ports_used_match_mbuf()2072 if (is_encapsulated_esp(m, l3_len + sizeof(struct udphdr))) { in if_ports_used_match_mbuf()