Home
last modified time | relevance | path

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

/dragonfly/sys/net/dummynet/
H A Dip_dummynet_glue.c214 struct m_tag *mtag; in ip_dn_freepkt_dispatch() local
224 KKASSERT(mtag != NULL); in ip_dn_freepkt_dispatch()
226 pkt = m_tag_data(mtag); in ip_dn_freepkt_dispatch()
240 struct m_tag *mtag; in ip_dn_dispatch() local
263 KKASSERT(mtag != NULL); in ip_dn_dispatch()
265 pkt = m_tag_data(mtag); in ip_dn_dispatch()
274 struct m_tag *mtag; in ip_dn_ip_output() local
287 KKASSERT(mtag != NULL); in ip_dn_ip_output()
323 struct m_tag *mtag; in ip_dn_ip_input() local
365 struct m_tag *mtag; in ip_dn_ether_demux() local
[all …]
/dragonfly/sys/net/dummynet3/
H A Dip_dummynet3_glue.c214 struct m_tag *mtag; in ip_dn_freepkt_dispatch() local
224 KKASSERT(mtag != NULL); in ip_dn_freepkt_dispatch()
226 pkt = m_tag_data(mtag); in ip_dn_freepkt_dispatch()
240 struct m_tag *mtag; in ip_dn_dispatch() local
263 KKASSERT(mtag != NULL); in ip_dn_dispatch()
265 pkt = m_tag_data(mtag); in ip_dn_dispatch()
274 struct m_tag *mtag; in ip_dn_ip_output() local
287 KKASSERT(mtag != NULL); in ip_dn_ip_output()
323 struct m_tag *mtag; in ip_dn_ip_input() local
365 struct m_tag *mtag; in ip_dn_ether_demux() local
[all …]
/dragonfly/sys/netinet/
H A Dip_divert.c166 struct m_tag *mtag; in div_packet() local
174 divinfo = m_tag_data(mtag); in div_packet()
272 struct m_tag *mtag; in divert_packet() local
285 divinfo = m_tag_data(mtag); in divert_packet()
322 struct m_tag *mtag; in div_output() local
336 if (mtag == NULL) { in div_output()
340 m_tag_prepend(m, mtag); in div_output()
568 struct m_tag *mtag; in ip_divert_in() local
582 m_tag_delete(m, mtag); in ip_divert_in()
618 if (mtag == NULL) { in ip_divert_in()
[all …]
H A Dip_input.c456 struct m_tag *mtag; in ip_input() local
512 KKASSERT(mtag != NULL); in ip_input()
618 m_tag_delete(m, mtag); in ip_input()
641 KKASSERT(mtag != NULL); in ip_input()
940 struct m_tag *mtag; in ip_forward_handler() local
1833 struct m_tag *mtag; in save_rte() local
1838 if (mtag == NULL) in save_rte()
1840 opt = m_tag_data(mtag); in save_rte()
1848 m_tag_free(mtag); in save_rte()
1867 struct m_tag *mtag; in ip_srcroute() local
[all …]
H A Dip_output.c181 struct m_tag *mtag; in ip_output() local
212 KKASSERT(mtag != NULL); in ip_output()
213 next_hop = m_tag_data(mtag); in ip_output()
221 KKASSERT(mtag != NULL); in ip_output()
222 dn_pkt = m_tag_data(mtag); in ip_output()
511 KKASSERT(mtag != NULL); in ip_output()
512 m_tag_delete(m, mtag); in ip_output()
546 KKASSERT(mtag != NULL); in ip_output()
547 next_hop = m_tag_data(mtag); in ip_output()
582 KKASSERT(mtag != NULL); in ip_output()
[all …]
H A Dip_carp.c1653 struct m_tag *mtag; in carp_macmatch6() local
1669 mtag = m_tag_get(PACKET_TAG_CARP, in carp_macmatch6()
1671 if (mtag == NULL) { in carp_macmatch6()
1675 bcopy(&ifp, (caddr_t)(mtag + 1), in carp_macmatch6()
1677 m_tag_prepend(m, mtag); in carp_macmatch6()
H A Dtcp_input.c680 struct m_tag *mtag; in tcp_input() local
682 mtag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL); in tcp_input()
683 KKASSERT(mtag != NULL); in tcp_input()
684 next_hop = m_tag_data(mtag); in tcp_input()
/dragonfly/sys/netproto/802_11/wlan/
H A Dieee80211_dragonfly.c247 struct m_tag *mtag; in ieee80211_add_rx_params() local
252 if (mtag == NULL) in ieee80211_add_rx_params()
264 struct m_tag *mtag; in ieee80211_get_rx_params() local
269 if (mtag == NULL) in ieee80211_get_rx_params()
661 struct m_tag *mtag; in ieee80211_add_callback() local
666 if (mtag == NULL) in ieee80211_add_callback()
681 struct m_tag *mtag; in ieee80211_add_xmit_params() local
686 if (mtag == NULL) in ieee80211_add_xmit_params()
699 struct m_tag *mtag; in ieee80211_get_xmit_params() local
704 if (mtag == NULL) in ieee80211_get_xmit_params()
[all …]
/dragonfly/sys/net/ipfw3/
H A Dip_fw3.c328 struct m_tag *mtag; in ip_fw3_chk() local
446 if (mtag != NULL) { in ip_fw3_chk()
474 m_tag_delete(m, mtag); in ip_fw3_chk()
589 struct m_tag *mtag; in ip_fw3_dummynet_io() local
599 if (mtag == NULL) { in ip_fw3_dummynet_io()
603 m_tag_prepend(m, mtag); in ip_fw3_dummynet_io()
605 pkt = m_tag_data(mtag); in ip_fw3_dummynet_io()
1184 struct m_tag *mtag; in ip_fw3_check_in() local
1194 m_tag_delete(m, mtag); in ip_fw3_check_in()
1259 struct m_tag *mtag; in ip_fw3_check_out() local
[all …]
/dragonfly/sys/net/ipfw3_basic/
H A Dip_fw3_basic.c192 struct m_tag *mtag; in check_forward() local
205 mtag = m_tag_get(PACKET_TAG_IPFORWARD, in check_forward()
207 if (mtag == NULL) { in check_forward()
212 sin = m_tag_data(mtag); in check_forward()
228 m_tag_prepend((*args)->m, mtag); in check_forward()
467 struct m_tag *mtag = m_tag_locate((*args)->m, in check_tag() local
469 if (mtag == NULL) { in check_tag()
471 if (mtag != NULL) in check_tag()
472 m_tag_prepend((*args)->m, mtag); in check_tag()
487 if (mtag != NULL) in check_untag()
[all …]
/dragonfly/sys/netinet6/
H A Dip6_input.c1561 struct m_tag *mtag; in ip6_addaux() local
1564 if (!mtag) { in ip6_addaux()
1567 if (mtag) in ip6_addaux()
1568 m_tag_prepend(m, mtag); in ip6_addaux()
1570 if (mtag) in ip6_addaux()
1572 return mtag ? (struct ip6aux *)m_tag_data(mtag) : NULL; in ip6_addaux()
1578 struct m_tag *mtag; in ip6_findaux() local
1581 return mtag ? (struct ip6aux *)m_tag_data(mtag) : NULL; in ip6_findaux()
1587 struct m_tag *mtag; in ip6_delaux() local
1590 if (mtag) in ip6_delaux()
[all …]
/dragonfly/sys/net/
H A Dif_ethersubr.c445 struct m_tag *mtag; in ether_output_frame() local
448 mtag = m_tag_find(m, PACKET_TAG_DUMMYNET, NULL); in ether_output_frame()
449 KKASSERT(mtag != NULL); in ether_output_frame()
453 m_tag_delete(m, mtag); in ether_output_frame()
503 struct m_tag *mtag; in ether_ipfw_chk() local
524 m_tag_delete(*m0, mtag); in ether_ipfw_chk()
527 KKASSERT(mtag != NULL); in ether_ipfw_chk()
528 m_tag_delete(*m0, mtag); in ether_ipfw_chk()
999 struct m_tag *mtag; in ether_demux_oncpu() local
1003 KKASSERT(mtag != NULL); in ether_demux_oncpu()
[all …]
H A Dif.c2929 struct m_tag *mtag; in if_tunnel_check_nesting() local
2933 mtag = m_tag_locate(m, cookie, 0 /* type */, NULL); in if_tunnel_check_nesting()
2934 if (mtag != NULL) in if_tunnel_check_nesting()
2935 count += *(int *)(mtag + 1); in if_tunnel_check_nesting()
2943 if (mtag == NULL) { in if_tunnel_check_nesting()
2944 mtag = m_tag_alloc(cookie, 0, sizeof(int), M_NOWAIT); in if_tunnel_check_nesting()
2945 if (mtag == NULL) in if_tunnel_check_nesting()
2947 m_tag_prepend(m, mtag); in if_tunnel_check_nesting()
2950 *(int *)(mtag + 1) = count; in if_tunnel_check_nesting()
/dragonfly/sys/net/ipfw/
H A Dip_fw2.c3441 struct m_tag *mtag; in ipfw_chk() local
3564 if (mtag != NULL) { in ipfw_chk()
3590 m_tag_delete(m, mtag); in ipfw_chk()
4291 if (mtag == NULL) { in ipfw_chk()
4349 if (mtag == NULL) { in ipfw_chk()
4406 struct m_tag *mtag; in ipfw_dummynet_io() local
4416 if (mtag == NULL) { in ipfw_dummynet_io()
4420 m_tag_prepend(m, mtag); in ipfw_dummynet_io()
4422 pkt = m_tag_data(mtag); in ipfw_dummynet_io()
6903 struct m_tag *mtag; in ipfw_init_args() local
[all …]
/dragonfly/sys/net/pf/
H A Dpf.c6482 struct m_tag *mtag; in pf_find_divert() local
6484 if ((mtag = m_tag_find(m, PACKET_TAG_PF_DIVERT, NULL)) == NULL) in pf_find_divert()
6487 return ((struct pf_divert *)(mtag + 1)); in pf_find_divert()
6493 struct m_tag *mtag; in pf_get_divert() local
6495 if ((mtag = m_tag_find(m, PACKET_TAG_PF_DIVERT, NULL)) == NULL) { in pf_get_divert()
6496 mtag = m_tag_get(PACKET_TAG_PF_DIVERT, sizeof(struct pf_divert), in pf_get_divert()
6498 if (mtag == NULL) in pf_get_divert()
6500 bzero(mtag + 1, sizeof(struct pf_divert)); in pf_get_divert()
6501 m_tag_prepend(m, mtag); in pf_get_divert()
6504 return ((struct pf_divert *)(mtag + 1)); in pf_get_divert()