Searched refs:item (Results 251 - 275 of 525) sorted by path

<<11121314151617181920>>

/freebsd-11-stable/sys/net80211/
H A Dieee80211_radiotap.c270 * Return the offset of the specified item in the radiotap
271 * header description. If the item is not present or is not
276 int n_vendor_attributes, int item)
357 printf("%s: unknown item %d\n", __func__, i);
361 if (i == item) {
363 /* NB: item does not fit in header data */
364 printf("%s: item %d not in header data, "
275 radiotap_offset(struct ieee80211_radiotap_header *rh, int n_vendor_attributes, int item) argument
/freebsd-11-stable/sys/netgraph/atm/ccatm/
H A Dng_ccatm.c485 ng_ccatm_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
492 NGI_GET_MSG(item, msg);
782 NG_RESPOND_MSG(error, node, item, resp);
919 ng_ccatm_rcvdata(hook_p hook, item_p item) argument
927 NGI_GET_M(item, m);
928 NG_FREE_ITEM(item);
1053 ng_ccatm_rcvuni(hook_p hook, item_p item) argument
1061 NGI_GET_M(item, m);
1062 NG_FREE_ITEM(item);
1151 ng_ccatm_rcvmanage(hook_p hook, item_p item) argument
1158 ng_ccatm_rcvdump(hook_p hook, item_p item) argument
[all...]
/freebsd-11-stable/sys/netgraph/atm/
H A Dng_atm.c485 ng_atm_rcvdata(hook_p hook, item_p item) argument
495 NG_FREE_ITEM(item);
499 NGI_GET_M(item, m);
500 NG_FREE_ITEM(item);
523 ng_atm_rcvdrop(hook_p hook, item_p item) argument
525 NG_FREE_ITEM(item);
905 ng_atm_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
913 NGI_GET_MSG(item, msg);
1145 NG_RESPOND_MSG(error, node, item, resp);
/freebsd-11-stable/sys/netgraph/atm/sscfu/
H A Dng_sscfu.c215 ng_sscfu_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
222 NGI_GET_MSG(item, msg);
338 NG_RESPOND_MSG(error, node, item, resp);
399 ng_sscfu_rcvupper(hook_p hook, item_p item) argument
407 NG_FREE_ITEM(item);
411 NGI_GET_M(item, m);
412 NG_FREE_ITEM(item);
458 ng_sscfu_rcvlower(hook_p hook, item_p item) argument
466 NG_FREE_ITEM(item);
470 NGI_GET_M(item,
[all...]
/freebsd-11-stable/sys/netgraph/atm/sscop/
H A Dng_sscop.c443 ng_sscop_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
450 NGI_GET_MSG(item, msg);
600 NG_RESPOND_MSG(error, node, item, resp);
664 ng_sscop_rcvlower(hook_p hook, item_p item) argument
670 NG_FREE_ITEM(item);
679 NGI_GET_M(item, m);
685 NG_FREE_ITEM(item);
708 ng_sscop_rcvupper(hook_p hook, item_p item) argument
715 NG_FREE_ITEM(item);
724 NGI_GET_M(item,
782 ng_sscop_rcvmanage(hook_p hook, item_p item) argument
[all...]
/freebsd-11-stable/sys/netgraph/atm/uni/
H A Dng_uni.c305 ng_uni_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
313 NGI_GET_MSG(item, msg);
465 NG_RESPOND_MSG(error, node, item, resp);
521 ng_uni_rcvupper(hook_p hook, item_p item) argument
531 NG_FREE_ITEM(item);
535 NGI_GET_M(item, m);
536 NG_FREE_ITEM(item);
660 ng_uni_rcvlower(hook_p hook __unused, item_p item) argument
670 NG_FREE_ITEM(item);
674 NGI_GET_M(item,
[all...]
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/bt3c/
H A Dng_bt3c_pccard.c362 ng_bt3c_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
369 NG_FREE_ITEM(item);
373 NGI_GET_MSG(item, msg);
529 NG_RESPOND_MSG(error, node, item, rsp);
540 ng_bt3c_rcvdata(hook_p hook, item_p item) argument
556 NGI_GET_M(item, m);
572 NG_FREE_ITEM(item);
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c779 ng_h4_rcvdata(hook_p hook, item_p item) argument
791 NGI_GET_M(item, m);
792 NG_FREE_ITEM(item);
835 ng_h4_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
844 NGI_GET_MSG(item, msg);
960 NG_RESPOND_MSG(error, node, item, resp);
/freebsd-11-stable/sys/netgraph/bluetooth/hci/
H A Dng_hci_main.c275 ng_hci_default_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
281 NGI_GET_MSG(item, msg);
629 /* NG_RESPOND_MSG should take care of "item" and "rsp" */
630 NG_RESPOND_MSG(error, node, item, rsp);
642 ng_hci_upper_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
647 switch (NGI_MSG(item)->header.typecookie) {
649 switch (NGI_MSG(item)->header.cmd) {
651 error = ng_hci_lp_con_req(unit, item, lasthook);
655 error = ng_hci_lp_discon_req(unit, item, lasthook);
659 error = ng_hci_lp_con_rsp(unit, item, lasthoo
686 ng_hci_drv_rcvdata(hook_p hook, item_p item) argument
769 ng_hci_acl_rcvdata(hook_p hook, item_p item) argument
886 ng_hci_sco_rcvdata(hook_p hook, item_p item) argument
1005 ng_hci_raw_rcvdata(hook_p hook, item_p item) argument
[all...]
H A Dng_hci_ulpi.c66 ng_hci_lp_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument
75 NG_FREE_ITEM(item);
80 if (NGI_MSG(item)->header.arglen != sizeof(ng_hci_lp_con_req_ep)) {
84 NGI_MSG(item)->header.arglen);
86 NG_FREE_ITEM(item);
90 link_type = ((ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data))->link_type;
93 return (ng_hci_lp_acl_con_req(unit, item, hook));
100 NG_FREE_ITEM(item);
105 return (ng_hci_lp_sco_con_req(unit, item, hook));
108 return (ng_hci_lp_le_con_req(unit, item, hoo
121 ng_hci_lp_acl_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument
321 ng_hci_lp_sco_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument
485 ng_hci_lp_le_con_req(ng_hci_unit_p unit, item_p item, hook_p hook, int link_type) argument
663 ng_hci_lp_discon_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument
899 ng_hci_lp_con_rsp(ng_hci_unit_p unit, item_p item, hook_p hook) argument
1151 ng_hci_lp_qos_req(ng_hci_unit_p unit, item_p item, hook_p hook) argument
[all...]
/freebsd-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_main.c255 ng_l2cap_lower_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
258 struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
363 return (ng_l2cap_default_rcvmsg(node, item, lasthook));
367 NG_FREE_ITEM(item);
377 ng_l2cap_upper_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
380 struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
452 return (ng_l2cap_default_rcvmsg(node, item, lasthook));
458 return (ng_l2cap_default_rcvmsg(node, item, lasthoo
472 ng_l2cap_default_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
703 ng_l2cap_rcvdata(hook_p hook, item_p item) argument
[all...]
/freebsd-11-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_hci_raw.c253 * Enqueue item and schedule input task.
257 ng_btsocket_hci_raw_node_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
259 struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
273 NG_FREE_ITEM(item);
283 NG_FREE_ITEM(item);
286 NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_hci_raw_queue, item);
291 NG_FREE_ITEM(item);
301 * Enqueue item and schedule input task.
305 ng_btsocket_hci_raw_node_rcvdata(hook_p hook, item_p item) argument
591 item_p item = NULL; local
[all...]
H A Dng_btsocket_l2cap.c347 ng_btsocket_l2cap_node_rcvmsg(node_p node, item_p item, hook_p hook) argument
349 struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
359 NG_FREE_ITEM(item);
364 NGI_SET_HOOK(item, hook);
367 NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_l2cap_queue, item);
372 NG_FREE_ITEM(item);
384 ng_btsocket_l2cap_node_rcvdata(hook_p hook, item_p item) argument
394 NG_FREE_ITEM(item);
398 NGI_SET_HOOK(item, hoo
1771 item_p item = NULL; local
[all...]
H A Dng_btsocket_l2cap_raw.c277 ng_btsocket_l2cap_raw_node_rcvmsg(node_p node, item_p item, hook_p hook) argument
279 struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
293 NG_FREE_ITEM(item);
304 NG_FREE_ITEM(item);
309 NGI_SET_HOOK(item, hook);
312 NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_l2cap_raw_queue, item);
317 NG_FREE_ITEM(item);
329 ng_btsocket_l2cap_raw_node_rcvdata(hook_p hook, item_p item) argument
331 NG_FREE_ITEM(item);
349 item_p item = NULL; local
[all...]
H A Dng_btsocket_sco.c309 ng_btsocket_sco_node_rcvmsg(node_p node, item_p item, hook_p hook) argument
311 struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
321 NG_FREE_ITEM(item);
326 NGI_SET_HOOK(item, hook);
329 NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_sco_queue, item);
334 NG_FREE_ITEM(item);
346 ng_btsocket_sco_node_rcvdata(hook_p hook, item_p item) argument
356 NG_FREE_ITEM(item);
360 NGI_SET_HOOK(item, hoo
983 item_p item = NULL; local
[all...]
/freebsd-11-stable/sys/netgraph/netflow/
H A Dnetflow.c173 item_p item = NULL; local
176 if (fe->exp.item != NULL) {
177 item = fe->exp.item;
178 fe->exp.item = NULL;
182 if (item == NULL) {
189 item = ng_package_data(m, NG_NOFLAGS);
190 if (item == NULL)
198 return (item);
205 return_export_dgram(priv_p priv, fib_export_p fe, item_p item, in argument
1046 export_send(priv_p priv, fib_export_p fe, item_p item, int flags) argument
1082 export_add(item_p item, struct flow_entry *fle) argument
[all...]
H A Dnetflow_v9.c199 export9_send(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags) argument
201 struct mbuf *m = NGI_M(item);
210 NG_FREE_ITEM(item);
228 NG_FWD_ITEM_HOOK_FLAGS(error, item, priv->export9, flags);
230 NG_FREE_ITEM(item);
241 export9_add(item_p item, struct netflow_v9_packet_opt *t, struct flow_entry *fle) argument
246 struct mbuf *m = NGI_M(item);
371 item_p item = NULL; local
376 item = fe->exp.item9;
383 if (item
444 return_export9_dgram(priv_p priv, fib_export_p fe, item_p item, struct netflow_v9_packet_opt *t, int flags) argument
[all...]
H A Dng_netflow.c372 ng_netflow_rcvmsg (node_p node, item_p item, hook_p lasthook) argument
379 NGI_GET_MSG(item, msg);
579 NG_RESPOND_MSG(error, node, item, resp);
587 ng_netflow_rcvdata (hook_p hook, item_p item) argument
627 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW,
635 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW,
644 NG_FWD_ITEM_HOOK(error, item, out);
654 m_tag_prepend(NGI_M(item), mtag);
661 NGI_GET_M(item, m);
967 NG_FWD_NEW_DATA(error, item, ou
[all...]
H A Dng_netflow.h379 item_p item; member in struct:netflow_export_item
391 struct mtx export_mtx; /* exp.item mutex */
428 * export_item is a data item, it has an mbuf with cluster
432 * its current item back to priv. If there is item already,
/freebsd-11-stable/sys/netgraph/
H A Dnetgraph.h99 typedef int ng_rcvmsg_t(node_p node, item_p item, hook_p lasthook);
100 typedef int ng_rcvdata_t(hook_p hook, item_p item);
102 typedef int ng_rcvitem (node_p node, hook_p hook, item_p item);
622 typedef int ng_item_fn2(node_p node, struct ng_item *item, hook_p hook);
651 * Optional callback called when item is being applied,
678 * Get the mbuf (etc) out of an item.
679 * Sets the value in the item to NULL in case we need to call NG_FREE_ITEM()
681 * If you don't want to zero out the item then realise that the
682 * item still owns it.
714 void dumpitem(item_p item, cha
727 _ngi_check(item_p item, char *file, int line) argument
734 _ngi_m(item_p item, char *file, int line) argument
741 _ngi_msg(item_p item, char *file, int line) argument
748 _ngi_retaddr(item_p item, char *file, int line) argument
755 _ngi_fn(item_p item, char *file, int line) argument
762 _ngi_fn2(item_p item, char *file, int line) argument
769 _ngi_arg1(item_p item, char *file, int line) argument
776 _ngi_arg2(item_p item, char *file, int line) argument
783 _ngi_node(item_p item, char *file, int line) argument
790 _ngi_hook(item_p item, char *file, int line) argument
[all...]
H A Dng_UI.c136 ng_UI_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
142 msg = NGI_MSG(item); /* only peeking */
146 NG_FWD_ITEM_HOOK(error, item, priv->uplink);
151 NG_FWD_ITEM_HOOK(error, item, priv->downlink);
157 NG_FREE_ITEM(item);
168 ng_UI_rcvdata(hook_p hook, item_p item) argument
175 NGI_GET_M(item, m);
189 NG_FWD_NEW_DATA(error, item, priv->uplink, m); /* m -> NULL */
195 NG_FWD_NEW_DATA(error, item, priv->downlink, m); /* m -> NULL */
201 if (item)
[all...]
H A Dng_async.c105 static int nga_rcv_sync(const sc_p sc, item_p item);
106 static int nga_rcv_async(const sc_p sc, item_p item);
241 nga_rcvdata(hook_p hook, item_p item) argument
246 return (nga_rcv_sync(sc, item));
248 return (nga_rcv_async(sc, item));
256 nga_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
263 NGI_GET_MSG(item, msg);
329 NG_RESPOND_MSG(error, node, item, resp);
401 nga_rcv_sync(const sc_p sc, item_p item) argument
415 NG_FWD_ITEM_HOOK(error, item, s
493 nga_rcv_async(const sc_p sc, item_p item) argument
[all...]
H A Dng_bpf.c305 ng_bpf_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
311 NGI_GET_MSG(item, msg);
404 NG_RESPOND_MSG(error, node, item, resp);
415 ng_bpf_rcvdata(hook_p hook, item_p item) argument
426 m = NGI_M(item); /* 'item' still owns it.. we are peeking */
450 NG_FREE_ITEM(item);
458 NGI_M(item) = m = m_pullup(m, totlen);
460 NG_FREE_ITEM(item);
498 NG_FREE_ITEM(item);
[all...]
H A Dng_bridge.c387 ng_bridge_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
394 NGI_GET_MSG(item, msg);
518 NG_RESPOND_MSG(error, node, item, resp);
527 ng_bridge_rcvdata(hook_p hook, item_p item) argument
539 NGI_GET_M(item, m);
550 NG_FREE_ITEM(item);
556 NG_FREE_ITEM(item);
562 NG_FREE_ITEM(item);
570 NG_FREE_ITEM(item);
627 NG_FREE_ITEM(item);
[all...]
H A Dng_cisco.c122 static int cisco_input(sc_p sc, item_p item);
244 cisco_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
251 NGI_GET_MSG(item, msg);
331 NG_RESPOND_MSG(error, node, item, resp);
340 cisco_rcvdata(hook_p hook, item_p item) argument
353 return (cisco_input(sc, item));
357 NGI_GET_M(item, m);
363 NGI_M(item) = m;
387 NG_FWD_NEW_DATA(error, item, sc->downstream.hook, m);
391 NG_FREE_ITEM(item);
439 cisco_input(sc_p sc, item_p item) argument
[all...]

Completed in 254 milliseconds

<<11121314151617181920>>