Searched refs:ng_mesg (Results 1 - 25 of 91) sorted by relevance

1234

/freebsd-current/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_llpi.h39 int ng_l2cap_lp_con_cfm (ng_l2cap_p, struct ng_mesg *);
40 int ng_l2cap_lp_con_ind (ng_l2cap_p, struct ng_mesg *);
41 int ng_l2cap_lp_discon_ind (ng_l2cap_p, struct ng_mesg *);
43 int ng_l2cap_lp_qos_cfm (ng_l2cap_p, struct ng_mesg *);
44 int ng_l2cap_lp_qos_ind (ng_l2cap_p, struct ng_mesg *);
45 int ng_l2cap_lp_enc_change (ng_l2cap_p, struct ng_mesg *);
H A Dng_l2cap_ulpi.h38 int ng_l2cap_l2ca_con_req (ng_l2cap_p, struct ng_mesg *);
40 int ng_l2cap_l2ca_con_rsp_req (ng_l2cap_p, struct ng_mesg *);
44 int ng_l2cap_l2ca_cfg_req (ng_l2cap_p, struct ng_mesg *);
46 int ng_l2cap_l2ca_cfg_rsp_req (ng_l2cap_p, struct ng_mesg *);
58 int ng_l2cap_l2ca_discon_req (ng_l2cap_p, struct ng_mesg *);
62 int ng_l2cap_l2ca_grp_create (ng_l2cap_p, struct ng_mesg *);
63 int ng_l2cap_l2ca_grp_close (ng_l2cap_p, struct ng_mesg *);
64 int ng_l2cap_l2ca_grp_add_member_req (ng_l2cap_p, struct ng_mesg *);
66 int ng_l2cap_l2ca_grp_rem_member (ng_l2cap_p, struct ng_mesg *);
67 int ng_l2cap_l2ca_grp_get_members (ng_l2cap_p, struct ng_mesg *);
[all...]
H A Dng_l2cap_ulpi.c64 ng_l2cap_l2ca_con_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
166 struct ng_mesg *msg = NULL;
223 ng_l2cap_l2ca_con_rsp_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
340 struct ng_mesg *msg = NULL;
392 struct ng_mesg *msg = NULL;
432 struct ng_mesg *msg = NULL;
471 ng_l2cap_l2ca_cfg_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
583 struct ng_mesg *msg = NULL;
643 ng_l2cap_l2ca_cfg_rsp_req(ng_l2cap_p l2cap, struct ng_mesg *msg)
743 struct ng_mesg *ms
[all...]
/freebsd-current/lib/libnetgraph/
H A Dnetgraph.h53 const struct ng_mesg *, const void *, size_t);
54 int NgRecvMsg(int, struct ng_mesg *, size_t, char *);
55 int NgAllocRecvMsg(int, struct ng_mesg **, char *);
56 int NgRecvAsciiMsg(int, struct ng_mesg *, size_t, char *);
57 int NgAllocRecvAsciiMsg(int, struct ng_mesg **, char *);
H A Dmsg.c56 const struct ng_mesg *hdr, const void *args, size_t arglen);
67 struct ng_mesg msg;
91 struct ng_mesg *reply, *binary, *ascii;
114 if ((ascii = malloc(sizeof(struct ng_mesg)
141 binary = (struct ng_mesg *)reply->data;
160 const struct ng_mesg *msg, const void *args, size_t arglen)
162 struct ng_mesg rep;
178 const struct ng_mesg *hdr, const void *args, size_t arglen)
183 struct ng_mesg *msg;
199 msg = (struct ng_mesg *) bu
[all...]
H A Dinternal.h70 extern void _NgDebugMsg(const struct ng_mesg *msg, const char *path);
H A Ddebug.c226 _NgDebugMsg(const struct ng_mesg *msg, const char *path)
228 u_char buf[2 * sizeof(struct ng_mesg) + ARGS_BUFSIZE];
229 struct ng_mesg *const req = (struct ng_mesg *)buf;
230 struct ng_mesg *const bin = (struct ng_mesg *)req->data;
/freebsd-current/usr.sbin/ngctl/
H A Dstatus.c60 u_char sbuf[sizeof(struct ng_mesg) + NG_TEXTRESPONSE];
61 struct ng_mesg *const resp = (struct ng_mesg *) sbuf;
H A Dconfig.c61 u_char sbuf[sizeof(struct ng_mesg) + NG_TEXTRESPONSE];
62 struct ng_mesg *const resp = (struct ng_mesg *) sbuf;
H A Dmsg.c126 struct ng_mesg *m, *m2;
127 struct ng_mesg *ascii;
153 ascii = (struct ng_mesg *)m2->data;
H A Dtypes.c59 struct ng_mesg *resp;
H A Dlist.c65 struct ng_mesg *resp;
H A Ddot.c66 struct ng_mesg *nlresp;
143 struct ng_mesg *hlresp;
H A Dshow.c64 struct ng_mesg *resp;
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.h40 typedef void ng_cookie_f(const struct ng_mesg *, const char *, ng_ID_t, void *);
60 struct ng_mesg *ng_dialog(const char *path, u_int cookie, u_int opcode,
62 struct ng_mesg *ng_dialog_node(const char *node, u_int cookie, u_int opcode,
64 struct ng_mesg *ng_dialog_id(ng_ID_t id, u_int cookie, u_int opcode,
H A Dsnmp_netgraph.c79 struct ng_mesg *mesg;
240 csock_handle(struct ng_mesg *mesg, const char *path)
266 static struct ng_mesg *
269 struct ng_mesg *mesg;
307 struct ng_mesg *mesg;
350 struct ng_mesg *
355 struct ng_mesg *mesg;
417 struct ng_mesg *
426 struct ng_mesg *
554 struct ng_mesg *res
[all...]
/freebsd-current/usr.sbin/flowctl/
H A Dflowctl.c223 struct ng_mesg *ng_mesg; local
227 ng_mesg = (struct ng_mesg *)buf;
239 nread = NgRecvMsg(cs, ng_mesg, SORCVBUF_SIZE, NULL);
243 if (ng_mesg->header.token != token)
246 resp = (struct ngnf_show_header *)ng_mesg->data;
247 if ((ng_mesg->header.arglen < (sizeof(*resp))) ||
248 (ng_mesg->header.arglen < (sizeof(*resp) +
/freebsd-current/usr.bin/netstat/
H A Dnetgraph.c87 u_char rbuf[sizeof(struct ng_mesg) + sizeof(struct nodeinfo)];
88 struct ng_mesg *resp = (struct ng_mesg *) rbuf;
/freebsd-current/sys/netgraph/bluetooth/include/
H A Dng_btsocket_hci_raw.h53 struct ng_mesg *msg; /* message */
/freebsd-current/tests/sys/netgraph/
H A Dksocket.c84 struct ng_mesg *rep;
99 ATF_REQUIRE(NgAllocRecvMsg(cs, &rep, NULL) == sizeof(struct ng_mesg) +
/freebsd-current/sys/netgraph/
H A Dng_echo.c86 struct ng_mesg *msg;
H A Dng_message.h58 struct ng_mesg { struct
136 /* Convert struct ng_mesg to ASCII. */
138 /* Convert ASCII to struct ng_mesg. */
382 (msg) = malloc(sizeof(struct ng_mesg) \
400 (rsp) = malloc(sizeof(struct ng_mesg) \
419 (copy) = malloc(sizeof(struct ng_mesg) \
H A Dng_hole.c146 struct ng_mesg *msg;
147 struct ng_mesg *resp = NULL;
H A Dng_ether_echo.c90 struct ng_mesg *msg;
/freebsd-current/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap.c161 (struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
163 (struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
165 (struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
168 (struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
170 (struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
172 (struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
175 (struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
177 (struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
180 (struct ng_mesg *, ng_btsocket_l2cap_rtentry_p);
348 struct ng_mesg *ms
[all...]

Completed in 303 milliseconds

1234