| /freebsd-13-stable/sys/net80211/ |
| HD | ieee80211_freebsd.c | 552 struct m_tag *mtag; in ieee80211_add_callback() local 555 mtag = m_tag_alloc(MTAG_ABI_NET80211, NET80211_TAG_CALLBACK, in ieee80211_add_callback() 557 if (mtag == NULL) in ieee80211_add_callback() 560 cb = (struct ieee80211_cb *)(mtag+1); in ieee80211_add_callback() 563 m_tag_prepend(m, mtag); in ieee80211_add_callback() 572 struct m_tag *mtag; in ieee80211_add_xmit_params() local 575 mtag = m_tag_alloc(MTAG_ABI_NET80211, NET80211_TAG_XMIT_PARAMS, in ieee80211_add_xmit_params() 577 if (mtag == NULL) in ieee80211_add_xmit_params() 580 tx = (struct ieee80211_tx_params *)(mtag+1); in ieee80211_add_xmit_params() 582 m_tag_prepend(m, mtag); in ieee80211_add_xmit_params() [all …]
|
| /freebsd-13-stable/sys/netpfil/ipfw/ |
| HD | dn_aqm_codel.c | 192 struct m_tag *mtag; in codel_extract_head() local 206 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in codel_extract_head() 207 if (mtag == NULL) { in codel_extract_head() 211 *pkt_ts = *(aqm_time_t *)(mtag + 1); in codel_extract_head() 212 m_tag_delete(m,mtag); in codel_extract_head() 227 struct m_tag *mtag; in aqm_codel_enqueue() local 253 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in aqm_codel_enqueue() 254 if (mtag == NULL) in aqm_codel_enqueue() 255 mtag = m_tag_alloc(MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, in aqm_codel_enqueue() 257 if (mtag == NULL) in aqm_codel_enqueue() [all …]
|
| HD | dn_sched_fq_codel.h | 154 struct m_tag *mtag; in fq_codel_extract_head() local 155 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in fq_codel_extract_head() 156 if (mtag == NULL){ in fq_codel_extract_head() 160 *pkt_ts = *(aqm_time_t *)(mtag + 1); in fq_codel_extract_head() 161 m_tag_delete(m,mtag); in fq_codel_extract_head()
|
| HD | dn_aqm_pie.c | 328 struct m_tag *mtag; in pie_extract_head() local 343 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in pie_extract_head() 344 if (mtag == NULL) { in pie_extract_head() 348 *pkt_ts = *(aqm_time_t *)(mtag + 1); in pie_extract_head() 349 m_tag_delete(m,mtag); in pie_extract_head() 537 struct m_tag *mtag; in aqm_pie_enqueue() local 538 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in aqm_pie_enqueue() 539 if (mtag == NULL) in aqm_pie_enqueue() 540 mtag = m_tag_alloc(MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, in aqm_pie_enqueue() 542 if (mtag == NULL) { in aqm_pie_enqueue() [all …]
|
| HD | ip_dn_io.c | 234 struct m_tag *mtag = m_tag_first(m); in dn_tag_get() local 237 if (mtag != NULL && mtag->m_tag_id == DN_AQM_MTAG_TS) { in dn_tag_get() 238 m_tag_delete(m,mtag); in dn_tag_get() 239 mtag = m_tag_first(m); in dn_tag_get() 243 KASSERT(mtag != NULL && in dn_tag_get() 244 mtag->m_tag_cookie == MTAG_ABI_COMPAT && in dn_tag_get() 245 mtag->m_tag_id == PACKET_TAG_DUMMYNET, in dn_tag_get() 247 return (struct dn_pkt_tag *)(mtag+1); in dn_tag_get() 833 struct m_tag *mtag; in tag_mbuf() local 835 mtag = m_tag_get(PACKET_TAG_DUMMYNET, in tag_mbuf() [all …]
|
| HD | ip_fw2.c | 2496 struct m_tag *mtag; in ipfw_chk() local 2509 mtag = m_tag_get(PACKET_TAG_PF, in ipfw_chk() 2511 if (mtag == NULL) { in ipfw_chk() 2518 m_tag_prepend(m, mtag); in ipfw_chk() 2519 at = (struct pf_mtag *)(mtag + 1); in ipfw_chk() 2641 struct m_tag *mtag; in ipfw_chk() local 2645 mtag = m_tag_locate(m, MTAG_IPFW, tag, NULL); in ipfw_chk() 2655 if (mtag != NULL) in ipfw_chk() 2656 m_tag_delete(m, mtag); in ipfw_chk() 2659 if (mtag == NULL) { in ipfw_chk() [all …]
|
| /freebsd-13-stable/sys/net/ |
| HD | if_vlan_var.h | 176 struct m_tag *mtag; in vlan_set_pcp() local 181 mtag = m_tag_locate(m, MTAG_8021Q, MTAG_8021Q_PCP_OUT, NULL); in vlan_set_pcp() 182 if (mtag == NULL) { in vlan_set_pcp() 183 mtag = m_tag_alloc(MTAG_8021Q, MTAG_8021Q_PCP_OUT, in vlan_set_pcp() 185 if (mtag == NULL) in vlan_set_pcp() 187 m_tag_prepend(m, mtag); in vlan_set_pcp() 190 *(uint8_t *)(mtag + 1) = prio; in vlan_set_pcp()
|
| HD | if_fwsubr.c | 84 struct m_tag *mtag; in firewire_output() local 124 mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, NULL); in firewire_output() 125 if (!mtag) { in firewire_output() 126 mtag = m_tag_alloc(MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, in firewire_output() 128 if (!mtag) { in firewire_output() 132 m_tag_prepend(m, mtag); in firewire_output() 134 destfw = (struct fw_hwaddr *)(mtag + 1); in firewire_output() 588 struct m_tag *mtag; in firewire_input() local 590 mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_SENDER_EUID, 0); in firewire_input() 591 if (mtag) in firewire_input() [all …]
|
| /freebsd-13-stable/usr.sbin/bsdconfig/usermgmt/ |
| HD | 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"
|
| HD | 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"
|
| HD | 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"
|
| HD | 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"
|
| HD | usermgmt | 136 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 146 case "$mtag" in
|
| /freebsd-13-stable/usr.sbin/bsdconfig/usermgmt/share/ |
| HD | group.subr | 143 local mtag retval defaultitem= 149 f_dialog_menutag_fetch mtag 150 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 151 defaultitem="$mtag" 156 case "$mtag" in 276 local mtag retval defaultitem= 282 f_dialog_menutag_fetch mtag 283 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 284 defaultitem="$mtag" 289 case "$mtag" in [all …]
|
| /freebsd-13-stable/usr.sbin/bsdconfig/startup/ |
| HD | rcadd | 120 case "$mtag" in 127 defaultitem="$mtag" 129 [ "$mtag" = "X $msg_exit" ] && break 134 "${mtag# }"
|
| HD | rcconf | 233 case "$mtag" in 246 case "$mtag" in 255 $BSDCFG_LIBE/$APP_DIR/rcedit ${USE_XDIALOG:+-X} "${mtag# }"
|
| /freebsd-13-stable/sys/net/altq/ |
| HD | altq_codel.c | 284 struct m_tag *mtag; in codel_addq() local 288 mtag = m_tag_locate(m, MTAG_CODEL, 0, NULL); in codel_addq() 289 if (mtag == NULL) in codel_addq() 290 mtag = m_tag_alloc(MTAG_CODEL, 0, sizeof(uint64_t), in codel_addq() 292 if (mtag == NULL) { in codel_addq() 296 enqueue_time = (uint64_t *)(mtag + 1); in codel_addq() 298 m_tag_prepend(m, mtag); in codel_addq() 312 struct m_tag *mtag; in codel_should_drop() local 320 mtag = m_tag_locate(m, MTAG_CODEL, 0, NULL); in codel_should_drop() 321 if (mtag == NULL) { in codel_should_drop() [all …]
|
| /freebsd-13-stable/sys/netpfil/pf/ |
| HD | pf_mtag.h | 59 struct m_tag *mtag; in pf_find_mtag() local 61 if ((mtag = m_tag_find(m, PACKET_TAG_PF, NULL)) == NULL) in pf_find_mtag() 64 return ((struct pf_mtag *)(mtag + 1)); in pf_find_mtag()
|
| /freebsd-13-stable/sys/netinet/ |
| HD | ip_divert.c | 196 struct m_tag *mtag; in divert_packet() local 200 mtag = m_tag_locate(m, MTAG_IPFW_RULE, 0, NULL); in divert_packet() 201 if (mtag == NULL) { in divert_packet() 239 divsrc.sin_port = ((struct ipfw_rule_ref *)(mtag+1))->rulenum; in divert_packet() 289 nport = htons((u_int16_t)(((struct ipfw_rule_ref *)(mtag+1))->info)); in divert_packet() 331 struct m_tag *mtag; in div_output() local 359 mtag = m_tag_locate(m, MTAG_IPFW_RULE, 0, NULL); in div_output() 360 if (mtag == NULL) { in div_output() 362 mtag = m_tag_alloc(MTAG_IPFW_RULE, 0, in div_output() 364 if (mtag == NULL) { in div_output() [all …]
|
| /freebsd-13-stable/sys/netipsec/ |
| HD | ipsec_input.c | 282 struct m_tag *mtag; in ipsec4_common_input_cb() local 375 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE, in ipsec4_common_input_cb() 377 if (mtag == NULL) { in ipsec4_common_input_cb() 384 xh = (struct xform_history *)(mtag + 1); in ipsec4_common_input_cb() 389 m_tag_prepend(m, mtag); in ipsec4_common_input_cb() 503 struct m_tag *mtag; in ipsec6_common_input_cb() local 579 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE, in ipsec6_common_input_cb() 581 if (mtag == NULL) { in ipsec6_common_input_cb() 588 xh = (struct xform_history *)(mtag + 1); in ipsec6_common_input_cb() 593 m_tag_prepend(m, mtag); in ipsec6_common_input_cb()
|
| /freebsd-13-stable/usr.sbin/bsdconfig/share/media/ |
| HD | any.subr | 95 local mtag 97 mtag=$( eval $DIALOG \ 112 f_dialog_data_sanitize mtag 113 f_dprintf "retval=%s mtag=[%s]" $retval "$mtag" 122 case "$mtag" in
|
| HD | options.subr | 204 local mtag 205 mtag=$( eval $DIALOG \ 222 f_dialog_data_sanitize mtag 223 defaultitem="$mtag" 224 f_dprintf "retval=%s mtag=[%s]" $retval "$mtag" 233 case "$mtag" in
|
| /freebsd-13-stable/sys/dev/firewire/ |
| HD | if_fwip.c | 530 struct m_tag *mtag; in fwip_async_output() local 569 mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, 0); in fwip_async_output() 570 if (mtag == NULL) in fwip_async_output() 573 destfw = (struct fw_hwaddr *) (mtag + 1); in fwip_async_output() 706 struct m_tag *mtag; in fwip_stream_input() local 778 mtag = m_tag_alloc(MTAG_FIREWIRE, in fwip_stream_input() 781 if (mtag) { in fwip_stream_input() 784 uint32_t *p = (uint32_t *) (mtag + 1); in fwip_stream_input() 794 m_tag_prepend(m, mtag); in fwip_stream_input() 833 struct m_tag *mtag; in fwip_unicast_input() local [all …]
|
| /freebsd-13-stable/usr.sbin/bsdconfig/ |
| HD | bsdconfig | 396 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 405 case "$mtag" in 414 f_getvar menu_program$mtag menu_program
|
| /freebsd-13-stable/sys/netgraph/netflow/ |
| HD | ng_netflow.c | 594 struct m_tag *mtag; in ng_netflow_rcvdata() local 625 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW, in ng_netflow_rcvdata() 627 while (mtag != NULL) { in ng_netflow_rcvdata() 629 ((ng_ID_t *)(mtag + 1))[0] == NG_NODE_ID(node)) { in ng_netflow_rcvdata() 633 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW, in ng_netflow_rcvdata() 634 MTAG_NETFLOW_CALLED, mtag); in ng_netflow_rcvdata() 648 mtag = m_tag_alloc(MTAG_NETFLOW, MTAG_NETFLOW_CALLED, in ng_netflow_rcvdata() 650 if (mtag) { in ng_netflow_rcvdata() 651 ((ng_ID_t *)(mtag + 1))[0] = NG_NODE_ID(node); in ng_netflow_rcvdata() 652 m_tag_prepend(NGI_M(item), mtag); in ng_netflow_rcvdata()
|