Home
last modified time | relevance | path

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

123

/freebsd/sys/net80211/
H A Dieee80211_freebsd.c558 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 Dip_divert.c173 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 Ddn_aqm_codel.c192 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 Ddn_sched_fq_codel.h152 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 Ddn_aqm_pie.c328 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 Dip_dn_io.c235 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 Dip_fw2.c2520 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 Dif_vlan_var.h181 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 Dif_fwsubr.c85 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 Duserdel82 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 Dgroupdel82 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 Dgroupedit82 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 Duseredit82 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 Dusermgmt136 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag"
146 case "$mtag" in
/freebsd/usr.sbin/bsdconfig/usermgmt/share/
H A Dgroup.subr150 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 Daltq_codel.c285 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 Drcadd120 case "$mtag" in
127 defaultitem="$mtag"
129 [ "$mtag" = "X $msg_exit" ] && break
134 "${mtag# }"
H A Drcconf233 case "$mtag" in
246 case "$mtag" in
255 $BSDCFG_LIBE/$APP_DIR/rcedit ${USE_XDIALOG:+-X} "${mtag# }"
/freebsd/sys/netpfil/pf/
H A Dpf_mtag.h65 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 Dany.subr91 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 Doptions.subr196 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 Dipsec_input.c343 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 Dif_fwip.c536 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 Dbsdconfig396 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 Dng_netflow.c595 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()

123