Searched refs:msgtype (Results 1 - 25 of 31) sorted by relevance

12

/linux-master/security/selinux/
H A Dnetlink.c24 static int selnl_msglen(int msgtype) argument
28 switch (msgtype) {
43 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) argument
45 switch (msgtype) {
67 static void selnl_notify(int msgtype, void *data) argument
74 len = selnl_msglen(msgtype);
81 nlh = nlmsg_put(skb, 0, 0, msgtype, len, 0);
84 selnl_add_payload(nlh, len, msgtype, data);
/linux-master/include/uapi/scsi/
H A Dscsi_netlink.h32 __u16 msgtype; member in struct:scsi_nl_hdr
47 /* Transport-based scsi_nl_hdr->msgtype values are defined in each transport */
50 * GENERIC SCSI scsi_nl_hdr->msgtype Values
55 /* SCSI_NL_SHOST_VENDOR msgtype is kernel->user and user->kernel */
104 (hdr)->msgtype = mtype; \
/linux-master/include/net/
H A Drtnetlink.h26 static inline enum rtnl_kinds rtnl_msgtype_kind(int msgtype) argument
28 return msgtype & RTNL_KIND_MASK;
31 void rtnl_register(int protocol, int msgtype,
33 int rtnl_register_module(struct module *owner, int protocol, int msgtype,
35 int rtnl_unregister(int protocol, int msgtype);
/linux-master/include/linux/
H A Dptp_classify.h124 u8 msgtype; local
128 msgtype = hdr->control;
130 msgtype = hdr->tsmt & 0x0f;
133 return msgtype;
/linux-master/drivers/scsi/
H A Dscsi_netlink.c82 switch (hdr->msgtype) {
93 __func__, hdr->msgtype, err);
H A Dnsp32.c1933 unsigned char msgtype; local
1947 msgtype = data->msginbuf[0];
1949 "enter: msglen: 0x%x msgin: 0x%x msgtype: 0x%x",
1950 data->msgin_len, msg, msgtype);
1964 if (msgtype & 0x80) {
1970 newlun = msgtype & 0x1f; /* TODO: SPI-3 compliant? */
1984 switch (msgtype) {
2060 "unsupported message: 0x%x", msgtype);
2213 msg, data->msgin_len, msgtype);
/linux-master/drivers/net/phy/
H A Dbcm-phy-ptp.c147 u8 msgtype; member in struct:bcm_ptp_skb_cb
154 u8 msgtype; member in struct:bcm_ptp_capture
444 capts->msgtype = reg >> 12;
471 BCM_SKB_CB(skb)->msgtype == capts->msgtype) {
751 int msgtype; local
756 msgtype = ptp_get_msgtype(hdr, type);
760 if (msgtype == PTP_MSGTYPE_PDELAY_RESP)
764 if (msgtype == PTP_MSGTYPE_SYNC)
770 BCM_SKB_CB(skb)->msgtype
[all...]
H A Ddp83640.c84 u16 msgtype; /* messageType[3:0], hash[11:0] */ member in struct:phy_rxts
99 u8 msgtype; member in struct:rxts
283 rxts->msgtype = (p->msgtype >> 12) & 0xf;
284 rxts->hash = p->msgtype & 0x0fff;
808 u8 msgtype; local
818 msgtype = ptp_get_msgtype(hdr, type);
820 if (rxts->msgtype != (msgtype & 0xf))
/linux-master/drivers/hv/
H A Dchannel_mgmt.c425 msg.header.msgtype = CHANNELMSG_RELID_RELEASED;
858 if (hdr->msgtype == CHANNELMSG_UNLOAD_RESPONSE)
924 hdr.msgtype = CHANNELMSG_UNLOAD;
1328 if (requestheader->msgtype == CHANNELMSG_OPENCHANNEL) {
1375 if (requestheader->msgtype == CHANNELMSG_GPADL_HEADER) {
1419 if (responseheader->msgtype == CHANNELMSG_MODIFYCHANNEL) {
1464 if (requestheader->msgtype == CHANNELMSG_GPADL_TEARDOWN) {
1507 if (requestheader->msgtype ==
1565 * vmbus_on_msg_dpc() makes sure the hdr->msgtype here can not go
1568 channel_message_table[hdr->msgtype]
[all...]
H A Dhv_trace.h14 TP_STRUCT__entry(__field(unsigned int, msgtype)),
15 TP_fast_assign(__entry->msgtype = hdr->msgtype;),
16 TP_printk("msgtype=%u", __entry->msgtype)
H A Dchannel.c203 conn_msg.header.msgtype = CHANNELMSG_TL_CONNECT_REQUEST;
221 msg.header.msgtype = CHANNELMSG_MODIFYCHANNEL;
248 msg->header.msgtype = CHANNELMSG_MODIFYCHANNEL;
466 gpadlmsg->header.msgtype = CHANNELMSG_GPADL_HEADER;
495 gpadl_body->header.msgtype =
701 open_msg->header.msgtype = CHANNELMSG_OPENCHANNEL;
826 msg->header.msgtype = CHANNELMSG_GPADL_TEARDOWN;
929 msg->header.msgtype = CHANNELMSG_CLOSECHANNEL;
H A Dconnection.c85 msg->header.msgtype = CHANNELMSG_INITIATE_CONTACT;
456 if (hdr->msgtype == CHANNELMSG_INITIATE_CONTACT)
H A Dvmbus_drv.c1025 enum vmbus_channel_message_type msgtype; local
1052 msgtype = hdr->msgtype;
1056 if (msgtype >= CHANNELMSG_COUNT) {
1057 WARN_ONCE(1, "unknown msgtype=%d\n", msgtype);
1067 entry = &channel_message_table[msgtype];
1073 WARN_ONCE(1, "message too short: msgtype=%d len=%d\n", msgtype, payload_size);
1093 switch (msgtype) {
[all...]
/linux-master/drivers/ptp/
H A Dptp_ines.c434 u8 msgtype; local
444 msgtype = ptp_get_msgtype(hdr, ptp_class);
449 if (tag_to_msgtype(ts->tag & 0x7) != msgtype) {
450 dev_dbg(dev, "msgtype mismatch ts %hhu != skb %hhu\n",
451 tag_to_msgtype(ts->tag & 0x7), msgtype);
667 u8 msgtype; local
673 msgtype = ptp_get_msgtype(hdr, type);
675 switch (msgtype) {
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dmsgbuf.c77 u8 msgtype; member in struct:msgbuf_common_hdr
453 request->msg.msgtype = MSGBUF_TYPE_IOCTLPTR_REQ;
622 create->msg.msgtype = MSGBUF_TYPE_FLOW_RING_CREATE;
744 tx_msghdr->msg.msgtype = MSGBUF_TYPE_TX_POST;
961 rx_bufpost->msg.msgtype = MSGBUF_TYPE_RXBUF_POST;
1058 rx_bufpost->msg.msgtype = MSGBUF_TYPE_EVENT_BUF_POST;
1060 rx_bufpost->msg.msgtype =
1294 switch (msg->msgtype) {
1331 bphy_err(drvr, "Unsupported msgtype %d\n", msg->msgtype);
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_ptp.c152 u8 msgtype; local
194 msgtype = ptp_get_msgtype(header, type);
195 if ((msgtype & 0xf) == 0) {
/linux-master/kernel/
H A Daudit.h342 extern int audit_filter(int msgtype, unsigned int listtype);
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_ptp.c646 u8 msgtype, twostep; local
652 msgtype = ptp_get_msgtype(hdr, ptp_class);
655 if (msgtype == PTP_MSGTYPE_SYNC && twostep == 0)
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ptp.c328 u8 msgtype; local
348 msgtype = ptp_get_msgtype(header, type);
349 if ((msgtype & 0xf) == 0)
/linux-master/drivers/net/ethernet/ti/
H A Dcpts.c438 u8 msgtype; local
448 msgtype = ptp_get_msgtype(hdr, ptp_class);
451 *mtype_seqid = (msgtype & MESSAGE_TYPE_MASK) << MESSAGE_TYPE_SHIFT;
H A Dam65-cpts.c894 u8 msgtype;
904 msgtype = ptp_get_msgtype(hdr, ptp_class);
907 *mtype_seqid = (msgtype << AM65_CPTS_EVENT_1_MESSAGE_TYPE_SHIFT) &
889 u8 msgtype; local
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc.c113 u8 *msgtype, u8 *twostep,
135 *msgtype = ptp_get_msgtype(hdr, ptp_class);
153 u8 msgtype, twostep, udp; local
183 if (enetc_ptp_parse(skb, &udp, &msgtype, &twostep, &offset1,
185 msgtype != PTP_MSGTYPE_SYNC || twostep)
652 u8 udp, msgtype, twostep; local
665 if (enetc_ptp_parse(skb, &udp, &msgtype, &twostep,
667 msgtype != PTP_MSGTYPE_SYNC || twostep != 0)
112 enetc_ptp_parse(struct sk_buff *skb, u8 *udp, u8 *msgtype, u8 *twostep, u16 *correction_offset, u16 *body_offset) argument
/linux-master/net/core/
H A Drtnetlink.c184 static inline int rtm_msgindex(int msgtype) argument
186 int msgindex = msgtype - RTM_BASE;
198 static struct rtnl_link *rtnl_get_link(int protocol, int msgtype) argument
209 return rcu_dereference_rtnl(tab[msgtype]);
213 int protocol, int msgtype,
223 msgindex = rtm_msgindex(msgtype);
257 WARN_ON(rtnl_msgtype_kind(msgtype) != RTNL_KIND_DEL &&
261 /* publish protocol:msgtype */
276 * @msgtype: rtnetlink message type
284 int protocol, int msgtype,
212 rtnl_register_internal(struct module *owner, int protocol, int msgtype, rtnl_doit_func doit, rtnl_dumpit_func dumpit, unsigned int flags) argument
283 rtnl_register_module(struct module *owner, int protocol, int msgtype, rtnl_doit_func doit, rtnl_dumpit_func dumpit, unsigned int flags) argument
309 rtnl_register(int protocol, int msgtype, rtnl_doit_func doit, rtnl_dumpit_func dumpit, unsigned int flags) argument
329 rtnl_unregister(int protocol, int msgtype) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c1022 u8 *data = skb->data, *msgtype; local
1067 msgtype = data + *offset;
1069 is_sync = !(*msgtype & 0xf);
/linux-master/drivers/media/common/siano/
H A Dsmscoreapi.h1105 char *smscore_translate_msg(enum msg_types msgtype);

Completed in 270 milliseconds

12