/freebsd/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_ulpi.h | 38 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 D | ng_l2cap_llpi.h | 39 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 D | ng_l2cap_ulpi.c | 64 ng_l2cap_l2ca_con_req(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_l2ca_con_req() 166 struct ng_mesg *msg = NULL; in ng_l2cap_l2ca_con_rsp() 223 ng_l2cap_l2ca_con_rsp_req(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_l2ca_con_rsp_req() 340 struct ng_mesg *msg = NULL; in ng_l2cap_l2ca_encryption_change() 392 struct ng_mesg *msg = NULL; in ng_l2cap_l2ca_con_rsp_rsp() 432 struct ng_mesg *msg = NULL; in ng_l2cap_l2ca_con_ind() 471 ng_l2cap_l2ca_cfg_req(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_l2ca_cfg_req() 583 struct ng_mesg *msg = NULL; in ng_l2cap_l2ca_cfg_rsp() 643 ng_l2cap_l2ca_cfg_rsp_req(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_l2ca_cfg_rsp_req() 743 struct ng_mesg *msg = NULL; in ng_l2cap_l2ca_cfg_rsp_rsp() [all …]
|
H A D | ng_l2cap_llpi.c | 70 struct ng_mesg *msg = NULL; in ng_l2cap_lp_con_req() 140 ng_l2cap_lp_con_cfm(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_lp_con_cfm() 207 ng_l2cap_lp_con_ind(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_lp_con_ind() 211 struct ng_mesg *rsp = NULL; in ng_l2cap_lp_con_ind() 290 ng_l2cap_lp_discon_ind(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_lp_discon_ind() 353 struct ng_mesg *msg = NULL; in ng_l2cap_lp_qos_req() 414 ng_l2cap_lp_qos_cfm(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_lp_qos_cfm() 441 ng_l2cap_lp_qos_ind(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_lp_qos_ind() 486 ng_l2cap_lp_enc_change(ng_l2cap_p l2cap, struct ng_mesg *msg) in ng_l2cap_lp_enc_change() 920 struct ng_mesg *msg = NULL; in ng_l2cap_process_discon_timeout()
|
/freebsd/lib/libnetgraph/ |
H A D | msg.c | 56 const struct ng_mesg *hdr, const void *args, size_t arglen); 67 struct ng_mesg msg; in NgSendMsg() 91 struct ng_mesg *reply, *binary, *ascii; in NgSendAsciiMsg() 114 if ((ascii = malloc(sizeof(struct ng_mesg) in NgSendAsciiMsg() 141 binary = (struct ng_mesg *)reply->data; in NgSendAsciiMsg() 160 const struct ng_mesg *msg, const void *args, size_t arglen) in NgSendReplyMsg() 162 struct ng_mesg rep; in NgSendReplyMsg() 178 const struct ng_mesg *hdr, const void *args, size_t arglen) in NgDeliverMsg() 183 struct ng_mesg *msg; in NgDeliverMsg() 199 msg = (struct ng_mesg *) buf; in NgDeliverMsg() [all …]
|
H A D | netgraph.h | 53 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 D | debug.c | 226 _NgDebugMsg(const struct ng_mesg *msg, const char *path) in _NgDebugMsg() 228 u_char buf[2 * sizeof(struct ng_mesg) + ARGS_BUFSIZE]; in _NgDebugMsg() 229 struct ng_mesg *const req = (struct ng_mesg *)buf; in _NgDebugMsg() 230 struct ng_mesg *const bin = (struct ng_mesg *)req->data; in _NgDebugMsg()
|
/freebsd/usr.sbin/flowctl/ |
H A D | flowctl.c | 223 struct ng_mesg *ng_mesg; in do_show() local 227 ng_mesg = (struct ng_mesg *)buf; in do_show() 239 nread = NgRecvMsg(cs, ng_mesg, SORCVBUF_SIZE, NULL); in do_show() 243 if (ng_mesg->header.token != token) in do_show() 246 resp = (struct ngnf_show_header *)ng_mesg->data; in do_show() 247 if ((ng_mesg->header.arglen < (sizeof(*resp))) || in do_show() 248 (ng_mesg->header.arglen < (sizeof(*resp) + in do_show()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.h | 40 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 D | snmp_netgraph.c | 79 struct ng_mesg *mesg; 240 csock_handle(struct ng_mesg *mesg, const char *path) in csock_handle() 266 static struct ng_mesg * 269 struct ng_mesg *mesg; in csock_read() 307 struct ng_mesg *mesg; in csock_input() 350 struct ng_mesg * 355 struct ng_mesg *mesg; in ng_dialog() 417 struct ng_mesg * 426 struct ng_mesg * 554 struct ng_mesg *resp; in ng_node_id() [all …]
|
/freebsd/usr.sbin/ngctl/ |
H A D | status.c | 60 u_char sbuf[sizeof(struct ng_mesg) + NG_TEXTRESPONSE]; in StatusCmd() 61 struct ng_mesg *const resp = (struct ng_mesg *) sbuf; in StatusCmd()
|
H A D | config.c | 61 u_char sbuf[sizeof(struct ng_mesg) + NG_TEXTRESPONSE]; in ConfigCmd() 62 struct ng_mesg *const resp = (struct ng_mesg *) sbuf; in ConfigCmd()
|
H A D | msg.c | 126 struct ng_mesg *m, *m2; in MsgRead() 127 struct ng_mesg *ascii; in MsgRead() 153 ascii = (struct ng_mesg *)m2->data; in MsgRead()
|
H A D | dot.c | 66 struct ng_mesg *nlresp; in DotCmd() 143 struct ng_mesg *hlresp; in DotCmd()
|
/freebsd/usr.bin/netstat/ |
H A D | netgraph.c | 86 u_char rbuf[sizeof(struct ng_mesg) + sizeof(struct nodeinfo)]; in netgraphprotopr() 87 struct ng_mesg *resp = (struct ng_mesg *) rbuf; in netgraphprotopr()
|
/freebsd/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_l2cap.c | 161 (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 *msg = NGI_MSG(item); /* item still has message */ in ng_btsocket_l2cap_node_rcvmsg() [all …]
|
H A D | ng_btsocket_sco.c | 160 (struct ng_mesg *, ng_btsocket_sco_rtentry_p); 162 (struct ng_mesg *, ng_btsocket_sco_rtentry_p); 164 (struct ng_mesg *, ng_btsocket_sco_rtentry_p); 313 struct ng_mesg *msg = NGI_MSG(item); /* item still has message */ in ng_btsocket_sco_node_rcvmsg() 377 ng_btsocket_sco_process_lp_con_cfm(struct ng_mesg *msg, in ng_btsocket_sco_process_lp_con_cfm() 450 ng_btsocket_sco_process_lp_con_ind(struct ng_mesg *msg, in ng_btsocket_sco_process_lp_con_ind() 545 ng_btsocket_sco_process_lp_discon_ind(struct ng_mesg *msg, in ng_btsocket_sco_process_lp_discon_ind() 602 struct ng_mesg *msg = NULL; in ng_btsocket_sco_send_lp_con_req() 633 struct ng_mesg *msg = NULL; in ng_btsocket_sco_send_lp_con_rsp() 662 struct ng_mesg *msg = NULL; in ng_btsocket_sco_send_lp_discon_req() [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_message.h | 58 struct ng_mesg { struct 382 (msg) = malloc(sizeof(struct ng_mesg) \ 400 (rsp) = malloc(sizeof(struct ng_mesg) \ 419 (copy) = malloc(sizeof(struct ng_mesg) \
|
H A D | ng_hole.c | 146 struct ng_mesg *msg; in ngh_rcvmsg() 147 struct ng_mesg *resp = NULL; in ngh_rcvmsg()
|
H A D | ng_cisco.c | 244 struct ng_mesg *msg; in cisco_rcvmsg() 246 struct ng_mesg *resp = NULL; in cisco_rcvmsg() 513 struct ng_mesg *msg; in cisco_input() 634 struct ng_mesg *msg; in cisco_notify()
|
H A D | ng_device.c | 235 struct ng_mesg *msg; in ng_device_rcvmsg() 236 struct ng_mesg *resp = NULL; in ng_device_rcvmsg() 417 struct ng_mesg *msg;
|
/freebsd/tests/sys/netgraph/ |
H A D | ksocket.c | 84 struct ng_mesg *rep; in ATF_TC_BODY() 99 ATF_REQUIRE(NgAllocRecvMsg(cs, &rep, NULL) == sizeof(struct ng_mesg) + in ATF_TC_BODY()
|
/freebsd/usr.sbin/ppp/ |
H A D | netgraph.c | 169 char msgbuf[sizeof(struct ng_mesg) * 2 + NG_MSGBUFSZ]; in ng_MessageIn() 171 struct ng_mesg *rep = (struct ng_mesg *)msgbuf; in ng_MessageIn() 462 struct ng_mesg *resp; in ng_Create() 590 resp = (struct ng_mesg *)rbuf; in ng_Create() 659 resp = (struct ng_mesg *)rbuf; in ng_Create()
|
H A D | ether.c | 217 char msgbuf[sizeof(struct ng_mesg) + sizeof(struct ngpppoe_sts)]; in ether_MessageIn() 218 struct ng_mesg *rep = (struct ng_mesg *)msgbuf; in ether_MessageIn() 444 struct ng_mesg *resp; in ether_Create() 532 resp = (struct ng_mesg *)rbuf; in ether_Create()
|
/freebsd/libexec/pppoed/ |
H A D | pppoed.c | 122 struct ng_mesg *resp; in ConfigureNode() 147 resp = (struct ng_mesg *)rbuf; in ConfigureNode() 257 char msgbuf[sizeof(struct ng_mesg) + sizeof(struct ngpppoe_sts)]; in Spawn() 258 struct ng_mesg *rep = (struct ng_mesg *)msgbuf; in Spawn()
|