| /freebsd/sys/dev/mlx5/mlx5_accel/ |
| H A D | mlx5_ipsec_rxtx.c | 45 struct ipsec_accel_in_tag *mtag; in mlx5_accel_ipsec_rx_tag_add() local 53 mtag = (struct ipsec_accel_in_tag *)m_tag_get( in mlx5_accel_ipsec_rx_tag_add() 56 if (mtag == NULL) in mlx5_accel_ipsec_rx_tag_add() 58 mr->ipsec_mtag = mtag; in mlx5_accel_ipsec_rx_tag_add() 66 struct ipsec_accel_in_tag *mtag; in mlx5e_accel_ipsec_handle_rx_cqe() local 70 mtag = mr->ipsec_mtag; in mlx5e_accel_ipsec_handle_rx_cqe() 71 WARN_ON(mtag == NULL); in mlx5e_accel_ipsec_handle_rx_cqe() 72 if (mtag != NULL) { in mlx5e_accel_ipsec_handle_rx_cqe() 73 mtag->drv_spi = drv_spi; in mlx5e_accel_ipsec_handle_rx_cqe() 74 if (ipsec_accel_fill_xh(ifp, drv_spi, &mtag->xh)) { in mlx5e_accel_ipsec_handle_rx_cqe() [all …]
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_freebsd.c | 560 struct m_tag *mtag; in ieee80211_add_callback() local 563 mtag = m_tag_alloc(MTAG_ABI_NET80211, NET80211_TAG_CALLBACK, in ieee80211_add_callback() 565 if (mtag == NULL) in ieee80211_add_callback() 568 cb = (struct ieee80211_cb *)(mtag+1); in ieee80211_add_callback() 571 m_tag_prepend(m, mtag); in ieee80211_add_callback() 580 struct m_tag *mtag; in ieee80211_add_xmit_params() local 583 mtag = m_tag_alloc(MTAG_ABI_NET80211, NET80211_TAG_XMIT_PARAMS, in ieee80211_add_xmit_params() 585 if (mtag == NULL) in ieee80211_add_xmit_params() 588 tx = (struct ieee80211_tx_params *)(mtag+1); in ieee80211_add_xmit_params() 590 m_tag_prepend(m, mtag); in ieee80211_add_xmit_params() [all …]
|
| /freebsd/sys/netinet/ |
| H A D | ip_divert.c | 173 struct m_tag *mtag; in divert_packet() local 178 mtag = m_tag_locate(m, MTAG_IPFW_RULE, 0, NULL); in divert_packet() 179 if (mtag != NULL) { in divert_packet() 180 cookie = ((struct ipfw_rule_ref *)(mtag+1))->rulenum; in divert_packet() 182 (((struct ipfw_rule_ref *)(mtag+1))->info)); in divert_packet() 183 } else if ((mtag = m_tag_locate(m, MTAG_PF_DIVERT, 0, NULL)) != NULL) { in divert_packet() 184 cookie = ((struct pf_divert_mtag *)(mtag+1))->idir; in divert_packet() 185 nport = htons(((struct pf_divert_mtag *)(mtag+1))->port); in divert_packet() 312 struct m_tag *mtag; in div_send() local 346 mtag = m_tag_locate(m, MTAG_IPFW_RULE, 0, 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 259 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in aqm_codel_enqueue() 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() [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 542 mtag = m_tag_locate(m, MTAG_ABI_COMPAT, DN_AQM_MTAG_TS, NULL); in aqm_pie_enqueue() 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() [all …]
|
| H A D | ip_dn_io.c | 239 struct m_tag *mtag = m_tag_first(m); in dn_tag_get() local 242 if (mtag != NULL && mtag->m_tag_id == DN_AQM_MTAG_TS) { in dn_tag_get() 243 m_tag_delete(m,mtag); in dn_tag_get() 244 mtag = m_tag_first(m); in dn_tag_get() 248 KASSERT(mtag != NULL && in dn_tag_get() 249 mtag->m_tag_cookie == MTAG_ABI_COMPAT && in dn_tag_get() 250 mtag->m_tag_id == PACKET_TAG_DUMMYNET, in dn_tag_get() 252 return (struct dn_pkt_tag *)(mtag+1); in dn_tag_get() 876 struct m_tag *mtag; in tag_mbuf() local 878 mtag = m_tag_get(PACKET_TAG_DUMMYNET, in tag_mbuf() [all …]
|
| H A D | ip_fw2.c | 2655 struct m_tag *mtag; in ipfw_chk() local 2668 mtag = m_tag_get(PACKET_TAG_PF, in ipfw_chk() 2670 if (mtag == NULL) { in ipfw_chk() 2677 m_tag_prepend(m, mtag); in ipfw_chk() 2678 at = (struct pf_mtag *)(mtag + 1); in ipfw_chk() 2800 struct m_tag *mtag; in ipfw_chk() local 2804 mtag = m_tag_locate(m, MTAG_IPFW, tag, NULL); in ipfw_chk() 2814 if (mtag != NULL) in ipfw_chk() 2815 m_tag_delete(m, mtag); in ipfw_chk() 2818 if (mtag == NULL) { in ipfw_chk() [all …]
|
| /freebsd/sys/net/ |
| H A D | if_vlan_var.h | 177 struct m_tag *mtag; in vlan_set_pcp() local 182 mtag = m_tag_locate(m, MTAG_8021Q, MTAG_8021Q_PCP_OUT, NULL); in vlan_set_pcp() 183 if (mtag == NULL) { in vlan_set_pcp() 184 mtag = m_tag_alloc(MTAG_8021Q, MTAG_8021Q_PCP_OUT, in vlan_set_pcp() 186 if (mtag == NULL) in vlan_set_pcp() 188 m_tag_prepend(m, mtag); in vlan_set_pcp() 191 *(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 | 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 | 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 | 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 | 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 | 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 | 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/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() 291 mtag = m_tag_alloc(MTAG_CODEL, 0, sizeof(uint64_t), 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() [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/dev/firewire/ |
| H A D | 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/sys/netipsec/ |
| H A D | ipsec_input.c | 349 struct m_tag *mtag; in ipsec4_common_input_cb() local 442 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE, in ipsec4_common_input_cb() 444 if (mtag == NULL) { in ipsec4_common_input_cb() 451 xh = (struct xform_history *)(mtag + 1); in ipsec4_common_input_cb() 456 m_tag_prepend(m, mtag); in ipsec4_common_input_cb() 604 struct m_tag *mtag; in ipsec6_common_input_cb() local 689 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE, in ipsec6_common_input_cb() 691 if (mtag == NULL) { in ipsec6_common_input_cb() 698 xh = (struct xform_history *)(mtag + 1); in ipsec6_common_input_cb() 703 m_tag_prepend(m, mtag); in ipsec6_common_input_cb()
|
| /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
|