/dragonfly/sys/net/dummynet/ |
H A D | ip_dummynet_glue.c | 214 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 D | ip_dummynet3_glue.c | 214 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 D | ip_divert.c | 166 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 D | ip_input.c | 456 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 D | ip_output.c | 181 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 D | ip_carp.c | 1653 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 D | tcp_input.c | 680 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 D | ieee80211_dragonfly.c | 247 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 D | ip_fw3.c | 328 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 D | ip_fw3_basic.c | 192 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 D | ip6_input.c | 1561 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 D | if_ethersubr.c | 445 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 D | if.c | 2929 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 D | ip_fw2.c | 3441 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 D | pf.c | 6482 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()
|