/freebsd/sys/net80211/ |
H A D | ieee80211_freebsd.c | 558 struct m_tag *mtag; in ieee80211_add_callback() local 563 if (mtag == NULL) in ieee80211_add_callback() 578 struct m_tag *mtag; in ieee80211_add_xmit_params() local 583 if (mtag == NULL) in ieee80211_add_xmit_params() 596 struct m_tag *mtag; in ieee80211_get_xmit_params() local 601 if (mtag == NULL) in ieee80211_get_xmit_params() 634 if (mtag == NULL) in ieee80211_add_rx_params() 651 if (mtag == NULL) in ieee80211_get_rx_params() 666 if (mtag == NULL) in ieee80211_get_rx_params_ptr() 683 if (mtag == NULL) in ieee80211_add_toa_params() [all …]
|
/freebsd/sys/netinet/ |
H A D | ip_divert.c | 173 struct m_tag *mtag; in divert_packet() local 179 if (mtag != NULL) { in divert_packet() 312 struct m_tag *mtag; in div_send() local 347 if (mtag == NULL) { in div_send() 349 mtag = m_tag_alloc(MTAG_IPFW_RULE, 0, in div_send() 351 if (mtag == NULL) { in div_send() 355 m_tag_prepend(m, mtag); in div_send() 357 dt = (struct ipfw_rule_ref *)(mtag+1); in div_send() 402 if (mtag == NULL) { in div_send() 406 if (mtag == NULL) { in div_send() [all …]
|
/freebsd/sys/netpfil/ipfw/ |
H A D | dn_aqm_codel.c | 192 struct m_tag *mtag; in codel_extract_head() local 207 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in codel_extract_head() 208 if (mtag == NULL) { in codel_extract_head() 212 *pkt_ts = *(aqm_time_t *)(mtag + 1); in codel_extract_head() 213 m_tag_delete(m,mtag); in codel_extract_head() 233 struct m_tag *mtag; in aqm_codel_enqueue() local 260 if (mtag == NULL) in aqm_codel_enqueue() 261 mtag = m_tag_alloc(MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, in aqm_codel_enqueue() 263 if (mtag == NULL) in aqm_codel_enqueue() 266 *(aqm_time_t *)(mtag + 1) = AQM_UNOW; in aqm_codel_enqueue() [all …]
|
H A D | dn_sched_fq_codel.h | 152 struct m_tag *mtag; in fq_codel_extract_head() local 153 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in fq_codel_extract_head() 154 if (mtag == NULL){ in fq_codel_extract_head() 158 *pkt_ts = *(aqm_time_t *)(mtag + 1); in fq_codel_extract_head() 159 m_tag_delete(m,mtag); in fq_codel_extract_head()
|
H A D | dn_aqm_pie.c | 328 struct m_tag *mtag; in pie_extract_head() local 344 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in pie_extract_head() 345 if (mtag == NULL) { in pie_extract_head() 349 *pkt_ts = *(aqm_time_t *)(mtag + 1); in pie_extract_head() 350 m_tag_delete(m,mtag); in pie_extract_head() 541 struct m_tag *mtag; in aqm_pie_enqueue() local 543 if (mtag == NULL) in aqm_pie_enqueue() 544 mtag = m_tag_alloc(MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, in aqm_pie_enqueue() 546 if (mtag == NULL) { in aqm_pie_enqueue() 549 *(aqm_time_t *)(mtag + 1) = AQM_UNOW; in aqm_pie_enqueue() [all …]
|
H A D | ip_dn_io.c | 235 struct m_tag *mtag = m_tag_first(m); in dn_tag_get() local 238 if (mtag != NULL && mtag->m_tag_id == DN_AQM_MTAG_TS) { in dn_tag_get() 239 m_tag_delete(m,mtag); in dn_tag_get() 240 mtag = m_tag_first(m); in dn_tag_get() 244 KASSERT(mtag != NULL && in dn_tag_get() 246 mtag->m_tag_id == PACKET_TAG_DUMMYNET, in dn_tag_get() 248 return (struct dn_pkt_tag *)(mtag+1); in dn_tag_get() 871 struct m_tag *mtag; in tag_mbuf() local 873 mtag = m_tag_get(PACKET_TAG_DUMMYNET, in tag_mbuf() 875 if (mtag == NULL) in tag_mbuf() [all …]
|
H A D | ip_fw2.c | 2520 struct m_tag *mtag; in ipfw_chk() local 2535 if (mtag == NULL) { in ipfw_chk() 2665 struct m_tag *mtag; in ipfw_chk() local 2679 if (mtag != NULL) in ipfw_chk() 2686 if (mtag != NULL) in ipfw_chk() 2756 struct m_tag *mtag; in ipfw_chk() local 2768 mtag = m_tag_next(m, mtag)) { in ipfw_chk() 2993 mtag = m_tag_next(m, mtag); in ipfw_chk() 2999 if (mtag != NULL) in ipfw_chk() 3033 mtag->m_tag_id++; in ipfw_chk() [all …]
|
/freebsd/sys/net/ |
H A D | if_vlan_var.h | 181 struct m_tag *mtag; in vlan_set_pcp() local 186 mtag = m_tag_locate(m, MTAG_8021Q, MTAG_8021Q_PCP_OUT, NULL); in vlan_set_pcp() 187 if (mtag == NULL) { in vlan_set_pcp() 188 mtag = m_tag_alloc(MTAG_8021Q, MTAG_8021Q_PCP_OUT, in vlan_set_pcp() 190 if (mtag == NULL) in vlan_set_pcp() 192 m_tag_prepend(m, mtag); in vlan_set_pcp() 195 *(uint8_t *)(mtag + 1) = prio; in vlan_set_pcp()
|
H A D | if_fwsubr.c | 85 struct m_tag *mtag; in firewire_output() local 125 mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, NULL); in firewire_output() 126 if (!mtag) { in firewire_output() 127 mtag = m_tag_alloc(MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, in firewire_output() 129 if (!mtag) { in firewire_output() 133 m_tag_prepend(m, mtag); in firewire_output() 135 destfw = (struct fw_hwaddr *)(mtag + 1); in firewire_output() 589 struct m_tag *mtag; in firewire_input() local 591 mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_SENDER_EUID, 0); in firewire_input() 592 if (mtag) in firewire_input() [all …]
|
/freebsd/usr.sbin/bsdconfig/usermgmt/ |
H A D | userdel | 82 f_dialog_menutag_fetch mtag 83 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 84 defaultitem="$mtag" 88 [ "$mtag" = "X $msg_exit" ] && break 92 f_user_delete "$mtag"
|
H A D | groupdel | 82 f_dialog_menutag_fetch mtag 83 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 84 defaultitem="$mtag" 88 [ "$mtag" = "X $msg_exit" ] && break 92 f_group_delete "$mtag"
|
H A D | groupedit | 82 f_dialog_menutag_fetch mtag 83 f_dprintf "retval=%s mtag=[%s]" $retval "$mtag" 84 defaultitem="$mtag" 88 [ "$mtag" = "X $msg_exit" ] && break 92 f_group_edit "$mtag"
|
H A D | useredit | 82 f_dialog_menutag_fetch mtag 83 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 84 defaultitem="$mtag" 88 [ "$mtag" = "X $msg_exit" ] && break 92 f_user_edit "$mtag"
|
H A D | usermgmt | 136 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 146 case "$mtag" in
|
/freebsd/usr.sbin/bsdconfig/usermgmt/share/ |
H A D | group.subr | 150 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 151 defaultitem="$mtag" 156 case "$mtag" in 283 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 284 defaultitem="$mtag" 289 case "$mtag" in 307 input="$mtag" 416 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 417 defaultitem="$mtag" 422 case "$mtag" in [all …]
|
/freebsd/sys/net/altq/ |
H A D | altq_codel.c | 285 struct m_tag *mtag; in codel_addq() local 289 mtag = m_tag_locate(m, MTAG_CODEL, 0, NULL); in codel_addq() 290 if (mtag == NULL) { in codel_addq() 293 if (mtag != NULL) in codel_addq() 294 m_tag_prepend(m, mtag); in codel_addq() 296 if (mtag == NULL) { in codel_addq() 300 enqueue_time = (uint64_t *)(mtag + 1); in codel_addq() 315 struct m_tag *mtag; in codel_should_drop() local 323 mtag = m_tag_locate(m, MTAG_CODEL, 0, NULL); in codel_should_drop() 324 if (mtag == NULL) { in codel_should_drop() [all …]
|
/freebsd/usr.sbin/bsdconfig/startup/ |
H A D | rcadd | 120 case "$mtag" in 127 defaultitem="$mtag" 129 [ "$mtag" = "X $msg_exit" ] && break 134 "${mtag# }"
|
H A D | rcconf | 233 case "$mtag" in 246 case "$mtag" in 255 $BSDCFG_LIBE/$APP_DIR/rcedit ${USE_XDIALOG:+-X} "${mtag# }"
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_mtag.h | 65 struct m_tag *mtag; in pf_find_mtag() local 67 if ((mtag = m_tag_find(m, PACKET_TAG_PF, NULL)) == NULL) in pf_find_mtag() 70 return ((struct pf_mtag *)(mtag + 1)); in pf_find_mtag()
|
/freebsd/usr.sbin/bsdconfig/share/media/ |
H A D | any.subr | 91 local mtag 93 mtag=$( eval $DIALOG \ 108 f_dialog_data_sanitize mtag 109 f_dprintf "retval=%s mtag=[%s]" $retval "$mtag" 118 case "$mtag" in
|
H A D | options.subr | 196 local mtag 197 mtag=$( eval $DIALOG \ 214 f_dialog_data_sanitize mtag 215 defaultitem="$mtag" 216 f_dprintf "retval=%s mtag=[%s]" $retval "$mtag" 225 case "$mtag" in
|
/freebsd/sys/netipsec/ |
H A D | ipsec_input.c | 343 struct m_tag *mtag; in ipsec4_common_input_cb() local 436 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE, in ipsec4_common_input_cb() 438 if (mtag == NULL) { in ipsec4_common_input_cb() 445 xh = (struct xform_history *)(mtag + 1); in ipsec4_common_input_cb() 450 m_tag_prepend(m, mtag); in ipsec4_common_input_cb() 590 struct m_tag *mtag; in ipsec6_common_input_cb() local 675 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE, in ipsec6_common_input_cb() 677 if (mtag == NULL) { in ipsec6_common_input_cb() 684 xh = (struct xform_history *)(mtag + 1); in ipsec6_common_input_cb() 689 m_tag_prepend(m, mtag); in ipsec6_common_input_cb()
|
/freebsd/sys/dev/firewire/ |
H A D | if_fwip.c | 536 struct m_tag *mtag; in fwip_async_output() local 576 if (mtag == NULL) in fwip_async_output() 712 struct m_tag *mtag; in fwip_stream_input() local 784 mtag = m_tag_alloc(MTAG_FIREWIRE, in fwip_stream_input() 787 if (mtag) { in fwip_stream_input() 790 uint32_t *p = (uint32_t *) (mtag + 1); in fwip_stream_input() 800 m_tag_prepend(m, mtag); in fwip_stream_input() 839 struct m_tag *mtag; in fwip_unicast_input() local 889 if (mtag) { in fwip_unicast_input() 892 uint32_t *p = (uint32_t *) (mtag + 1); in fwip_unicast_input() [all …]
|
/freebsd/usr.sbin/bsdconfig/ |
H A D | bsdconfig | 396 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 405 case "$mtag" in 414 f_getvar menu_program$mtag menu_program
|
/freebsd/sys/netgraph/netflow/ |
H A D | ng_netflow.c | 595 struct m_tag *mtag; in ng_netflow_rcvdata() local 630 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW, in ng_netflow_rcvdata() 632 while (mtag != NULL) { in ng_netflow_rcvdata() 634 ((ng_ID_t *)(mtag + 1))[0] == NG_NODE_ID(node)) { in ng_netflow_rcvdata() 638 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW, in ng_netflow_rcvdata() 639 MTAG_NETFLOW_CALLED, mtag); in ng_netflow_rcvdata() 653 mtag = m_tag_alloc(MTAG_NETFLOW, MTAG_NETFLOW_CALLED, in ng_netflow_rcvdata() 655 if (mtag) { in ng_netflow_rcvdata() 656 ((ng_ID_t *)(mtag + 1))[0] = NG_NODE_ID(node); in ng_netflow_rcvdata() 657 m_tag_prepend(NGI_M(item), mtag); in ng_netflow_rcvdata()
|