lib/libnetgraph/debug.c
226
_NgDebugMsg(const struct ng_mesg *msg, const char *path)
lib/libnetgraph/debug.c
228
u_char buf[2 * sizeof(struct ng_mesg) + ARGS_BUFSIZE];
lib/libnetgraph/debug.c
229
struct ng_mesg *const req = (struct ng_mesg *)buf;
lib/libnetgraph/debug.c
230
struct ng_mesg *const bin = (struct ng_mesg *)req->data;
lib/libnetgraph/internal.h
70
extern void _NgDebugMsg(const struct ng_mesg *msg, const char *path);
lib/libnetgraph/msg.c
114
if ((ascii = malloc(sizeof(struct ng_mesg)
lib/libnetgraph/msg.c
141
binary = (struct ng_mesg *)reply->data;
lib/libnetgraph/msg.c
160
const struct ng_mesg *msg, const void *args, size_t arglen)
lib/libnetgraph/msg.c
162
struct ng_mesg rep;
lib/libnetgraph/msg.c
178
const struct ng_mesg *hdr, const void *args, size_t arglen)
lib/libnetgraph/msg.c
183
struct ng_mesg *msg;
lib/libnetgraph/msg.c
199
msg = (struct ng_mesg *) buf;
lib/libnetgraph/msg.c
261
NgRecvMsg(int cs, struct ng_mesg *rep, size_t replen, char *path)
lib/libnetgraph/msg.c
299
NgAllocRecvMsg(int cs, struct ng_mesg **rep, char *path)
lib/libnetgraph/msg.c
317
NgRecvAsciiMsg(int cs, struct ng_mesg *reply, size_t replen, char *path)
lib/libnetgraph/msg.c
319
struct ng_mesg *msg, *ascii;
lib/libnetgraph/msg.c
327
msg = (struct ng_mesg *)buf;
lib/libnetgraph/msg.c
328
ascii = (struct ng_mesg *)msg->data;
lib/libnetgraph/msg.c
362
NgAllocRecvAsciiMsg(int cs, struct ng_mesg **reply, char *path)
lib/libnetgraph/msg.c
56
const struct ng_mesg *hdr, const void *args, size_t arglen);
lib/libnetgraph/msg.c
67
struct ng_mesg msg;
lib/libnetgraph/msg.c
91
struct ng_mesg *reply, *binary, *ascii;
lib/libnetgraph/netgraph.h
53
const struct ng_mesg *, const void *, size_t);
lib/libnetgraph/netgraph.h
54
int NgRecvMsg(int, struct ng_mesg *, size_t, char *);
lib/libnetgraph/netgraph.h
55
int NgAllocRecvMsg(int, struct ng_mesg **, char *);
lib/libnetgraph/netgraph.h
56
int NgRecvAsciiMsg(int, struct ng_mesg *, size_t, char *);
lib/libnetgraph/netgraph.h
57
int NgAllocRecvAsciiMsg(int, struct ng_mesg **, char *);
lib/libnetgraph/sock.c
112
u_char rbuf[sizeof(struct ng_mesg) +
lib/libnetgraph/sock.c
114
struct ng_mesg res;
libexec/pppoed/pppoed.c
122
struct ng_mesg *resp;
libexec/pppoed/pppoed.c
147
resp = (struct ng_mesg *)rbuf;
libexec/pppoed/pppoed.c
257
char msgbuf[sizeof(struct ng_mesg) + sizeof(struct ngpppoe_sts)];
libexec/pppoed/pppoed.c
258
struct ng_mesg *rep = (struct ng_mesg *)msgbuf;
sys/dev/usb/misc/udbp.c
640
struct ng_mesg *resp = NULL;
sys/dev/usb/misc/udbp.c
642
struct ng_mesg *msg;
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
1748
struct ng_mesg *msg, *rsp = NULL;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
355
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/hci/ng_hci_main.c
294
struct ng_mesg *msg = NULL, *rsp = NULL;
sys/netgraph/bluetooth/hci/ng_hci_misc.c
88
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1095
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1266
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
1321
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
178
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
545
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
758
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
822
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
855
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/include/ng_btsocket_hci_raw.h
53
struct ng_mesg *msg; /* message */
sys/netgraph/bluetooth/include/ng_btsocket_l2cap.h
79
struct ng_mesg *msg; /* message */
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
140
ng_l2cap_lp_con_cfm(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
207
ng_l2cap_lp_con_ind(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
211
struct ng_mesg *rsp = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
290
ng_l2cap_lp_discon_ind(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
353
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
414
ng_l2cap_lp_qos_cfm(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
441
ng_l2cap_lp_qos_ind(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
486
ng_l2cap_lp_enc_change(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
70
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
920
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.h
39
int ng_l2cap_lp_con_cfm (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.h
40
int ng_l2cap_lp_con_ind (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.h
41
int ng_l2cap_lp_discon_ind (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.h
43
int ng_l2cap_lp_qos_cfm (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.h
44
int ng_l2cap_lp_qos_ind (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.h
45
int ng_l2cap_lp_enc_change (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
259
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
381
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
476
struct ng_mesg *msg = NULL, *rsp = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
69
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1183
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1216
ng_l2cap_l2ca_discon_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1331
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1371
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1411
ng_l2cap_l2ca_grp_create(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1422
ng_l2cap_l2ca_grp_close(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1433
ng_l2cap_l2ca_grp_add_member_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1456
ng_l2cap_l2ca_grp_rem_member(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1467
ng_l2cap_l2ca_grp_get_members(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1477
ng_l2cap_l2ca_ping_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1560
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1606
ng_l2cap_l2ca_get_info_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
166
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1681
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1727
ng_l2cap_l2ca_enable_clt(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
223
ng_l2cap_l2ca_con_rsp_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
340
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
392
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
432
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
471
ng_l2cap_l2ca_cfg_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
583
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
64
ng_l2cap_l2ca_con_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
643
ng_l2cap_l2ca_cfg_rsp_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
743
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
796
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
937
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
38
int ng_l2cap_l2ca_con_req (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
40
int ng_l2cap_l2ca_con_rsp_req (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
44
int ng_l2cap_l2ca_cfg_req (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
46
int ng_l2cap_l2ca_cfg_rsp_req (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
58
int ng_l2cap_l2ca_discon_req (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
62
int ng_l2cap_l2ca_grp_create (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
63
int ng_l2cap_l2ca_grp_close (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
64
int ng_l2cap_l2ca_grp_add_member_req (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
66
int ng_l2cap_l2ca_grp_rem_member (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
67
int ng_l2cap_l2ca_grp_get_members (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
69
int ng_l2cap_l2ca_ping_req (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
73
int ng_l2cap_l2ca_get_info_req (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.h
77
int ng_l2cap_l2ca_enable_clt (ng_l2cap_p, struct ng_mesg *);
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
1037
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
261
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
388
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
411
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
559
ng_btsocket_hci_raw_msg_input(struct ng_mesg *msg)
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
612
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1035
ng_btsocket_l2cap_process_l2ca_discon_rsp(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1092
ng_btsocket_l2cap_process_l2ca_discon_ind(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1149
ng_btsocket_l2cap_process_l2ca_write_rsp(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1224
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1260
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1294
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1330
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1365
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
161
(struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1629
ng_btsocket_l2cap_default_msg_input(struct ng_mesg *msg, hook_p hook)
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
163
(struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
165
(struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
168
(struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1684
ng_btsocket_l2cap_l2ca_msg_input(struct ng_mesg *msg, hook_p hook)
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
170
(struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
172
(struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
175
(struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
177
(struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
1783
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
180
(struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
348
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
413
ng_btsocket_l2cap_process_l2ca_con_req_rsp(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
521
ng_btsocket_l2cap_process_l2ca_con_rsp_rsp(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
588
ng_btsocket_l2cap_process_l2ca_con_ind(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
691
static int ng_btsocket_l2cap_process_l2ca_enc_change(struct ng_mesg *msg, ng_btsocket_l2cap_rtentry_p rt)
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
738
ng_btsocket_l2cap_process_l2ca_cfg_req_rsp(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
855
ng_btsocket_l2cap_process_l2ca_cfg_rsp_rsp(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
950
ng_btsocket_l2cap_process_l2ca_cfg_ind(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c
1296
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c
1319
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c
281
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c
352
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c
790
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
1002
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
160
(struct ng_mesg *, ng_btsocket_sco_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
162
(struct ng_mesg *, ng_btsocket_sco_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
164
(struct ng_mesg *, ng_btsocket_sco_rtentry_p);
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
313
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
377
ng_btsocket_sco_process_lp_con_cfm(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
450
ng_btsocket_sco_process_lp_con_ind(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
545
ng_btsocket_sco_process_lp_discon_ind(struct ng_mesg *msg,
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
602
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
633
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
662
struct ng_mesg *msg = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
811
ng_btsocket_sco_default_msg_input(struct ng_mesg *msg, hook_p hook)
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
930
ng_btsocket_sco_lp_msg_input(struct ng_mesg *msg, hook_p hook)
sys/netgraph/netflow/ng_netflow.c
373
struct ng_mesg *resp = NULL;
sys/netgraph/netflow/ng_netflow.c
375
struct ng_mesg *msg;
sys/netgraph/netflow/ng_netflow.h
292
#define SORCVBUF_SIZE (NGRESP_SIZE + 2 * sizeof(struct ng_mesg))
sys/netgraph/netgraph.h
1152
item_p ng_package_msg(struct ng_mesg *msg, int flags);
sys/netgraph/netgraph.h
1153
item_p ng_package_msg_self(node_p here, hook_p hook, struct ng_mesg *msg);
sys/netgraph/netgraph.h
644
struct ng_mesg *msg_msg;
sys/netgraph/netgraph.h
724
static __inline struct ng_mesg ** _ngi_msg(item_p item, char *file, int line) ;
sys/netgraph/netgraph.h
746
static __inline struct ng_mesg **
sys/netgraph/ng_UI.c
137
struct ng_mesg *msg;
sys/netgraph/ng_async.c
256
struct ng_mesg *resp = NULL;
sys/netgraph/ng_async.c
258
struct ng_mesg *msg;
sys/netgraph/ng_base.c
2515
struct ng_mesg *msg;
sys/netgraph/ng_base.c
2516
struct ng_mesg *resp = NULL;
sys/netgraph/ng_base.c
2780
struct ng_mesg *binary, *ascii;
sys/netgraph/ng_base.c
2783
binary = (struct ng_mesg *)msg->data;
sys/netgraph/ng_base.c
2784
if (msg->header.arglen < sizeof(struct ng_mesg) ||
sys/netgraph/ng_base.c
2785
(msg->header.arglen - sizeof(struct ng_mesg) <
sys/netgraph/ng_base.c
2798
ascii = (struct ng_mesg *)resp->data;
sys/netgraph/ng_base.c
2857
struct ng_mesg *ascii, *binary;
sys/netgraph/ng_base.c
2861
ascii = (struct ng_mesg *)msg->data;
sys/netgraph/ng_base.c
2878
binary = (struct ng_mesg *)resp->data;
sys/netgraph/ng_base.c
3555
ng_package_msg(struct ng_mesg *msg, int flags)
sys/netgraph/ng_base.c
3685
ng_package_msg_self(node_p here, hook_p hook, struct ng_mesg *msg)
sys/netgraph/ng_bpf.c
304
struct ng_mesg *msg;
sys/netgraph/ng_bpf.c
305
struct ng_mesg *resp = NULL;
sys/netgraph/ng_bridge.c
530
struct ng_mesg *resp = NULL;
sys/netgraph/ng_bridge.c
532
struct ng_mesg *msg;
sys/netgraph/ng_bridge.c
863
struct ng_mesg *msg;
sys/netgraph/ng_car.c
419
struct ng_mesg *resp = NULL;
sys/netgraph/ng_car.c
421
struct ng_mesg *msg;
sys/netgraph/ng_checksum.c
192
struct ng_mesg *msg;
sys/netgraph/ng_checksum.c
193
struct ng_mesg *resp = NULL;
sys/netgraph/ng_cisco.c
244
struct ng_mesg *msg;
sys/netgraph/ng_cisco.c
246
struct ng_mesg *resp = NULL;
sys/netgraph/ng_cisco.c
513
struct ng_mesg *msg;
sys/netgraph/ng_cisco.c
634
struct ng_mesg *msg;
sys/netgraph/ng_deflate.c
214
struct ng_mesg *resp = NULL;
sys/netgraph/ng_deflate.c
216
struct ng_mesg *msg;
sys/netgraph/ng_deflate.c
346
struct ng_mesg *msg;
sys/netgraph/ng_device.c
263
struct ng_mesg *msg;
sys/netgraph/ng_device.c
264
struct ng_mesg *resp = NULL;
sys/netgraph/ng_device.c
493
struct ng_mesg *msg;
sys/netgraph/ng_echo.c
86
struct ng_mesg *msg;
sys/netgraph/ng_eiface.c
473
struct ng_mesg *resp = NULL;
sys/netgraph/ng_eiface.c
475
struct ng_mesg *msg;
sys/netgraph/ng_etf.c
248
struct ng_mesg *resp = NULL;
sys/netgraph/ng_etf.c
250
struct ng_mesg *msg;
sys/netgraph/ng_ether.c
393
struct ng_mesg *msg;
sys/netgraph/ng_ether.c
500
struct ng_mesg *resp = NULL;
sys/netgraph/ng_ether.c
502
struct ng_mesg *msg;
sys/netgraph/ng_ether_echo.c
90
struct ng_mesg *msg;
sys/netgraph/ng_gif.c
394
struct ng_mesg *resp = NULL;
sys/netgraph/ng_gif.c
396
struct ng_mesg *msg;
sys/netgraph/ng_gif_demux.c
275
struct ng_mesg *resp = NULL;
sys/netgraph/ng_gif_demux.c
277
struct ng_mesg *msg;
sys/netgraph/ng_hole.c
146
struct ng_mesg *msg;
sys/netgraph/ng_hole.c
147
struct ng_mesg *resp = NULL;
sys/netgraph/ng_hub.c
102
struct ng_mesg *msg;
sys/netgraph/ng_iface.c
601
struct ng_mesg *resp = NULL;
sys/netgraph/ng_iface.c
603
struct ng_mesg *msg;
sys/netgraph/ng_ksocket.c
1125
struct ng_mesg *response;
sys/netgraph/ng_ksocket.c
1259
struct ng_mesg *resp;
sys/netgraph/ng_ksocket.c
479
const struct ng_mesg *msg;
sys/netgraph/ng_ksocket.c
482
msg = (const struct ng_mesg *)((const u_char *)sopt - sizeof(*msg));
sys/netgraph/ng_ksocket.c
751
struct ng_mesg *resp = NULL;
sys/netgraph/ng_ksocket.c
753
struct ng_mesg *msg;
sys/netgraph/ng_l2tp.c
1165
struct ng_mesg *msg;
sys/netgraph/ng_l2tp.c
455
struct ng_mesg *resp = NULL;
sys/netgraph/ng_l2tp.c
456
struct ng_mesg *msg;
sys/netgraph/ng_lmi.c
442
struct ng_mesg *resp = NULL;
sys/netgraph/ng_lmi.c
444
struct ng_mesg *msg;
sys/netgraph/ng_macfilter.c
676
struct ng_mesg *resp = NULL;
sys/netgraph/ng_macfilter.c
677
struct ng_mesg *msg;
sys/netgraph/ng_message.h
382
(msg) = malloc(sizeof(struct ng_mesg) \
sys/netgraph/ng_message.h
400
(rsp) = malloc(sizeof(struct ng_mesg) \
sys/netgraph/ng_message.h
419
(copy) = malloc(sizeof(struct ng_mesg) \
sys/netgraph/ng_mppc.c
262
struct ng_mesg *resp = NULL;
sys/netgraph/ng_mppc.c
264
struct ng_mesg *msg;
sys/netgraph/ng_mppc.c
403
struct ng_mesg *msg;
sys/netgraph/ng_nat.c
366
struct ng_mesg *resp = NULL;
sys/netgraph/ng_nat.c
367
struct ng_mesg *msg;
sys/netgraph/ng_one2many.c
255
struct ng_mesg *resp = NULL;
sys/netgraph/ng_one2many.c
257
struct ng_mesg *msg;
sys/netgraph/ng_one2many.c
601
struct ng_mesg *msg;
sys/netgraph/ng_parse.c
1170
const struct ng_mesg *msg;
sys/netgraph/ng_parse.c
1172
msg = (const struct ng_mesg *)(buf - sizeof(*msg));
sys/netgraph/ng_parse.c
1380
const struct ng_mesg *const hdr
sys/netgraph/ng_parse.c
1381
= (const struct ng_mesg *)(data - sizeof(*hdr));
sys/netgraph/ng_patch.c
210
struct ng_mesg *msg;
sys/netgraph/ng_patch.c
211
struct ng_mesg *resp = NULL;
sys/netgraph/ng_pipe.c
299
struct ng_mesg *resp = NULL;
sys/netgraph/ng_pipe.c
300
struct ng_mesg *msg, *flow_msg;
sys/netgraph/ng_ppp.c
584
struct ng_mesg *resp = NULL;
sys/netgraph/ng_ppp.c
586
struct ng_mesg *msg;
sys/netgraph/ng_pppoe.c
1316
struct ng_mesg *msg;
sys/netgraph/ng_pppoe.c
1339
struct ng_mesg *msg;
sys/netgraph/ng_pppoe.c
1358
struct ng_mesg *msg;
sys/netgraph/ng_pppoe.c
1380
struct ng_mesg *msg;
sys/netgraph/ng_pppoe.c
1403
struct ng_mesg *msg;
sys/netgraph/ng_pppoe.c
2216
struct ng_mesg *msg;
sys/netgraph/ng_pppoe.c
746
struct ng_mesg *msg;
sys/netgraph/ng_pppoe.c
782
struct ng_mesg *resp = NULL;
sys/netgraph/ng_pppoe.c
787
struct ng_mesg *msg;
sys/netgraph/ng_pptpgre.c
421
struct ng_mesg *resp = NULL;
sys/netgraph/ng_pptpgre.c
423
struct ng_mesg *msg;
sys/netgraph/ng_pred1.c
230
struct ng_mesg *resp = NULL;
sys/netgraph/ng_pred1.c
232
struct ng_mesg *msg;
sys/netgraph/ng_pred1.c
323
struct ng_mesg *msg;
sys/netgraph/ng_rfc1490.c
213
struct ng_mesg *msg;
sys/netgraph/ng_rfc1490.c
214
struct ng_mesg *resp = NULL;
sys/netgraph/ng_sample.c
260
struct ng_mesg *resp = NULL;
sys/netgraph/ng_sample.c
262
struct ng_mesg *msg;
sys/netgraph/ng_socket.c
223
struct ng_mesg *msg;
sys/netgraph/ng_socket.c
902
struct ng_mesg *msg;
sys/netgraph/ng_socket.c
977
m = m_devget((caddr_t)msg, sizeof(struct ng_mesg) + msg->header.arglen,
sys/netgraph/ng_source.c
319
struct ng_mesg *msg;
sys/netgraph/ng_source.c
350
struct ng_mesg *msg, *resp = NULL;
sys/netgraph/ng_source.c
651
struct ng_mesg *msg;
sys/netgraph/ng_tag.c
349
struct ng_mesg *msg;
sys/netgraph/ng_tag.c
350
struct ng_mesg *resp = NULL;
sys/netgraph/ng_tcpmss.c
184
struct ng_mesg *msg, *resp = NULL;
sys/netgraph/ng_tee.c
215
struct ng_mesg *resp = NULL;
sys/netgraph/ng_tee.c
217
struct ng_mesg *msg;
sys/netgraph/ng_tty.c
250
struct ng_mesg *msg, *resp = NULL;
sys/netgraph/ng_vjc.c
292
struct ng_mesg *resp = NULL;
sys/netgraph/ng_vjc.c
294
struct ng_mesg *msg;
sys/netgraph/ng_vlan.c
254
struct ng_mesg *msg, *resp = NULL;
sys/netgraph/ng_vlan.c
478
struct ng_mesg *copy;
sys/netgraph/ng_vlan_rotate.c
221
struct ng_mesg *resp = NULL;
sys/netgraph/ng_vlan_rotate.c
222
struct ng_mesg *msg;
tests/sys/netgraph/bridge.c
46
static void get_tablesize(char const *source, struct ng_mesg *msg, void *ctx);
tests/sys/netgraph/bridge.c
624
get_tablesize(char const *source, struct ng_mesg *msg, void *ctx)
tests/sys/netgraph/ksocket.c
102
ATF_REQUIRE(NgAllocRecvMsg(cs, &rep, NULL) == sizeof(struct ng_mesg) +
tests/sys/netgraph/ksocket.c
155
struct ng_mesg *rep;
tests/sys/netgraph/ksocket.c
165
ATF_REQUIRE(NgAllocRecvMsg(cs, &rep, NULL) == sizeof(struct ng_mesg) +
tests/sys/netgraph/ksocket.c
92
struct ng_mesg *rep;
tests/sys/netgraph/util.c
164
struct ng_mesg *m;
tests/sys/netgraph/util.h
78
typedef void (*ng_msg_handler_t)(char const *, struct ng_mesg *, void *);
usr.bin/netstat/netgraph.c
86
u_char rbuf[sizeof(struct ng_mesg) + sizeof(struct nodeinfo)];
usr.bin/netstat/netgraph.c
87
struct ng_mesg *resp = (struct ng_mesg *) rbuf;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1132
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1344
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1372
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1471
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1512
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
1514
struct ng_mesg *resp1;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
240
csock_handle(struct ng_mesg *mesg, const char *path)
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
266
static struct ng_mesg *
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
269
struct ng_mesg *mesg;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
307
struct ng_mesg *mesg;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
350
struct ng_mesg *
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
355
struct ng_mesg *mesg;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
417
struct ng_mesg *
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
426
struct ng_mesg *
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
554
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
567
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
580
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
593
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
675
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
79
struct ng_mesg *mesg;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
805
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.c
862
struct ng_mesg *resp;
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.h
40
typedef void ng_cookie_f(const struct ng_mesg *, const char *, ng_ID_t, void *);
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.h
60
struct ng_mesg *ng_dialog(const char *path, u_int cookie, u_int opcode,
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.h
62
struct ng_mesg *ng_dialog_node(const char *node, u_int cookie, u_int opcode,
usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.h
64
struct ng_mesg *ng_dialog_id(ng_ID_t id, u_int cookie, u_int opcode,
usr.sbin/flowctl/flowctl.c
223
struct ng_mesg *ng_mesg;
usr.sbin/flowctl/flowctl.c
227
ng_mesg = (struct ng_mesg *)buf;
usr.sbin/flowctl/flowctl.c
239
nread = NgRecvMsg(cs, ng_mesg, SORCVBUF_SIZE, NULL);
usr.sbin/flowctl/flowctl.c
243
if (ng_mesg->header.token != token)
usr.sbin/flowctl/flowctl.c
246
resp = (struct ngnf_show_header *)ng_mesg->data;
usr.sbin/flowctl/flowctl.c
247
if ((ng_mesg->header.arglen < (sizeof(*resp))) ||
usr.sbin/flowctl/flowctl.c
248
(ng_mesg->header.arglen < (sizeof(*resp) +
usr.sbin/ngctl/config.c
61
u_char sbuf[sizeof(struct ng_mesg) + NG_TEXTRESPONSE];
usr.sbin/ngctl/config.c
62
struct ng_mesg *const resp = (struct ng_mesg *) sbuf;
usr.sbin/ngctl/dot.c
142
struct ng_mesg *hlresp;
usr.sbin/ngctl/dot.c
65
struct ng_mesg *nlresp;
usr.sbin/ngctl/list.c
64
struct ng_mesg *resp;
usr.sbin/ngctl/msg.c
120
struct ng_mesg *m, *m2;
usr.sbin/ngctl/msg.c
121
struct ng_mesg *ascii;
usr.sbin/ngctl/msg.c
147
ascii = (struct ng_mesg *)m2->data;
usr.sbin/ngctl/show.c
63
struct ng_mesg *resp;
usr.sbin/ngctl/status.c
59
u_char sbuf[sizeof(struct ng_mesg) + NG_TEXTRESPONSE];
usr.sbin/ngctl/status.c
60
struct ng_mesg *const resp = (struct ng_mesg *) sbuf;
usr.sbin/ngctl/types.c
58
struct ng_mesg *resp;
usr.sbin/ppp/ether.c
217
char msgbuf[sizeof(struct ng_mesg) + sizeof(struct ngpppoe_sts)];
usr.sbin/ppp/ether.c
218
struct ng_mesg *rep = (struct ng_mesg *)msgbuf;
usr.sbin/ppp/ether.c
444
struct ng_mesg *resp;
usr.sbin/ppp/ether.c
532
resp = (struct ng_mesg *)rbuf;
usr.sbin/ppp/netgraph.c
169
char msgbuf[sizeof(struct ng_mesg) * 2 + NG_MSGBUFSZ];
usr.sbin/ppp/netgraph.c
171
struct ng_mesg *rep = (struct ng_mesg *)msgbuf;
usr.sbin/ppp/netgraph.c
462
struct ng_mesg *resp;
usr.sbin/ppp/netgraph.c
590
resp = (struct ng_mesg *)rbuf;
usr.sbin/ppp/netgraph.c
659
resp = (struct ng_mesg *)rbuf;
usr.sbin/ppp/tty.c
256
u_char rbuf[sizeof(struct ng_mesg) + sizeof(struct nodeinfo)];
usr.sbin/ppp/tty.c
257
struct ng_mesg *reply;
usr.sbin/ppp/tty.c
272
reply = (struct ng_mesg *)rbuf;