/net/tipc/ |
H A D | netlink.c | 48 u16 cmd; local 50 if ((req_userhdr->cmd & 0xC000) && (!capable(CAP_NET_ADMIN))) 51 cmd = TIPC_CMD_NOT_NET_ADMIN; 53 cmd = req_userhdr->cmd; 55 rep_buf = tipc_cfg_do_cmd(req_userhdr->dest, cmd, 80 .cmd = TIPC_GENL_CMD,
|
H A D | config.h | 64 struct sk_buff *tipc_cfg_do_cmd(u32 orig_node, u16 cmd,
|
/net/nfc/hci/ |
H A D | hcp.c | 33 * counted from the moment the cmd is sent to the transport. 42 struct hci_msg *cmd; local 47 cmd = kzalloc(sizeof(struct hci_msg), GFP_KERNEL); 48 if (cmd == NULL) 51 INIT_LIST_HEAD(&cmd->msg_l); 52 skb_queue_head_init(&cmd->msg_frags); 53 cmd->wait_response = (type == NFC_HCI_HCP_COMMAND) ? true : false; 54 cmd->cb = cb; 55 cmd->cb_context = cb_context; 56 cmd [all...] |
H A D | command.c | 31 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, argument 35 pr_debug("exec cmd async through pipe=%d, cmd=%d, plen=%zd\n", pipe, 36 cmd, param_len); 38 /* TODO: Define hci cmd execution delay. Should it be the same 41 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_COMMAND, cmd, 67 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, argument 77 pr_debug("exec cmd sync through pipe=%d, cmd=%d, plen=%zd\n", pipe, 78 cmd, param_le 141 nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, const u8 *param, size_t param_len, struct sk_buff **skb) argument 156 nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, const u8 *param, size_t param_len, data_exchange_cb_t cb, void *cb_context) argument [all...] |
/net/core/ |
H A D | dev_ioctl.c | 121 static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cmd) argument 129 switch (cmd) { 239 static int dev_ifsioc(struct net *net, struct ifreq *ifr, unsigned int cmd) argument 250 switch (cmd) { 316 if ((cmd >= SIOCDEVPRIVATE && 317 cmd <= SIOCDEVPRIVATE + 15) || 318 cmd == SIOCBONDENSLAVE || 319 cmd == SIOCBONDRELEASE || 320 cmd == SIOCBONDSETHWADDR || 321 cmd 392 dev_ioctl(struct net *net, unsigned int cmd, void __user *arg) argument [all...] |
H A D | ethtool.c | 100 struct ethtool_gfeatures cmd = { local 101 .cmd = ETHTOOL_GFEATURES, 127 if (copy_to_user(useraddr, &cmd, sizeof(cmd))) 129 useraddr += sizeof(cmd); 138 struct ethtool_sfeatures cmd; local 143 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) 145 useraddr += sizeof(cmd); 147 if (cmd 316 __ethtool_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) argument 332 struct ethtool_cmd cmd; local 345 struct ethtool_cmd cmd; local 458 ethtool_set_rxnfc(struct net_device *dev, u32 cmd, void __user *useraddr) argument 490 ethtool_get_rxnfc(struct net_device *dev, u32 cmd, void __user *useraddr) argument 1205 ethtool_get_value(struct net_device *dev, char __user *useraddr, u32 cmd, u32 (*actor)(struct net_device *)) argument [all...] |
/net/bluetooth/ |
H A D | mgmt.c | 209 static int cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status) argument 216 BT_DBG("sock %p, index %u, cmd %u, status %u", sk, index, cmd, status); 230 ev->opcode = cpu_to_le16(cmd); 239 static int cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status, argument 260 ev->opcode = cpu_to_le16(cmd); 726 static void mgmt_pending_free(struct pending_cmd *cmd) argument 728 sock_put(cmd->sk); 729 kfree(cmd->param); 730 kfree(cmd); 737 struct pending_cmd *cmd; local 763 mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, void (*cb)(struct pending_cmd *cmd, void *data), void *data) argument 768 struct pending_cmd *cmd, *tmp; local 780 struct pending_cmd *cmd; local 790 mgmt_pending_remove(struct pending_cmd *cmd) argument 808 struct pending_cmd *cmd; local 902 struct pending_cmd *cmd; local 1036 struct pending_cmd *cmd; local 1058 struct pending_cmd *cmd; local 1182 struct pending_cmd *cmd; local 1250 struct pending_cmd *cmd; local 1340 struct pending_cmd *cmd; local 1419 struct pending_cmd *cmd; local 1455 struct pending_cmd *cmd; local 1482 struct pending_cmd *cmd; local 1562 struct pending_cmd *cmd; local 1647 struct pending_cmd *cmd; local 1790 struct pending_cmd *cmd; local 1869 struct pending_cmd *cmd; local 2008 struct pending_cmd *cmd; local 2030 struct pending_cmd *cmd; local 2107 struct pending_cmd *cmd; local 2122 pairing_complete(struct pending_cmd *cmd, u8 status) argument 2145 struct pending_cmd *cmd; local 2158 struct pending_cmd *cmd; local 2177 struct pending_cmd *cmd; local 2268 struct pending_cmd *cmd; local 2310 struct pending_cmd *cmd; local 2453 struct pending_cmd *cmd; local 2482 struct pending_cmd *cmd; local 2547 struct pending_cmd *cmd; local 2657 struct pending_cmd *cmd; local 2747 struct pending_cmd *cmd; local 2955 struct pending_cmd *cmd; local 2990 struct pending_cmd *cmd; local 3253 cmd_status_rsp(struct pending_cmd *cmd, void *data) argument 3287 settings_rsp(struct pending_cmd *cmd, void *data) argument 3423 struct pending_cmd *cmd; local 3470 struct pending_cmd *cmd; local 3572 disconnect_rsp(struct pending_cmd *cmd, void *data) argument 3590 unpair_device_rsp(struct pending_cmd *cmd, void *data) argument 3636 struct pending_cmd *cmd; local 3684 struct pending_cmd *cmd; local 3706 struct pending_cmd *cmd; local 3760 struct pending_cmd *cmd; local 3932 sk_lookup(struct pending_cmd *cmd, void *data) argument 3965 struct pending_cmd *cmd; local 3992 struct pending_cmd *cmd; local 4119 struct pending_cmd *cmd; local 4140 struct pending_cmd *cmd; local 4157 struct pending_cmd *cmd; local 4183 struct pending_cmd *cmd; local 4197 struct pending_cmd *cmd; local [all...] |
/net/atm/ |
H A D | ioctl.c | 50 static int do_vcc_ioctl(struct socket *sock, unsigned int cmd, argument 60 switch (cmd) { 169 error = ic->ioctl(sock, cmd, arg); 180 error = atm_dev_ioctl(cmd, argp, compat); 186 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 188 return do_vcc_ioctl(sock, cmd, arg, 0); 222 unsigned int cmd; member in struct:__anon7 245 static int do_atm_iobuf(struct socket *sock, unsigned int cmd, argument 265 err = do_vcc_ioctl(sock, cmd, (unsigned long) iobuf, 0); 276 static int do_atmif_sioc(struct socket *sock, unsigned int cmd, argument 309 unsigned int cmd = 0; local 358 vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | resources.h | 16 int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat);
|
H A D | common.h | 21 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 22 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
|
H A D | resources.c | 195 int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat) argument 209 switch (cmd) { 287 switch (cmd) { 337 error = fetch_stats(dev, buf, cmd == ATM_GETSTATZ); 378 if (cmd == ATM_ADDADDR || cmd == ATM_ADDLECSADDR) 380 (cmd == ATM_ADDADDR ? 384 (cmd == ATM_DELADDR ? 391 (cmd == ATM_GETADDR ? 425 size = dev->ops->compat_ioctl(dev, cmd, bu [all...] |
/net/wireless/ |
H A D | wext-core.c | 421 unsigned int cmd, 450 if (WARN_ON(cmd == SIOCGIWSCAN && extra)) 454 if (cmd <= SIOCIWLAST) { 455 cmd_index = IW_IOCTL_IDX(cmd); 459 cmd_index = IW_EVENT_IDX(cmd); 473 cmd); 481 netdev_err(dev, "(WE) : Wireless Event (cmd=0x%04X) too big (%d)\n", 482 cmd, wrqu->data.length); 486 netdev_err(dev, "(WE) : Wireless Event (cmd=0x%04X) too small (%d)\n", 487 cmd, wrq 420 wireless_send_event(struct net_device * dev, unsigned int cmd, union iwreq_data * wrqu, const char * extra) argument 651 get_handler(struct net_device *dev, unsigned int cmd) argument 685 ioctl_standard_iw_point(struct iw_point *iwp, unsigned int cmd, const struct iw_ioctl_description *descr, iw_handler handler, struct net_device *dev, struct iw_request_info *info) argument 884 wireless_process_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, struct iw_request_info *info, wext_ioctl_func standard, wext_ioctl_func private) argument 936 wext_permission_check(unsigned int cmd) argument 947 wext_ioctl_dispatch(struct net *net, struct ifreq *ifr, unsigned int cmd, struct iw_request_info *info, wext_ioctl_func standard, wext_ioctl_func private) argument 970 ioctl_standard_call(struct net_device * dev, struct iwreq *iwr, unsigned int cmd, struct iw_request_info *info, iw_handler handler) argument 1009 wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, void __user *arg) argument 1027 compat_standard_call(struct net_device *dev, struct iwreq *iwr, unsigned int cmd, struct iw_request_info *info, iw_handler handler) argument 1057 compat_wext_handle_ioctl(struct net *net, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | wext-priv.c | 93 static int get_priv_descr_and_size(struct net_device *dev, unsigned int cmd, argument 101 if (cmd == dev->wireless_handlers->private_args[i].cmd) { 109 if (IW_IS_SET(cmd)) { 137 static int ioctl_private_iw_point(struct iw_point *iwp, unsigned int cmd, argument 146 if (IW_IS_SET(cmd)) { 160 if (IW_IS_SET(cmd) && (iwp->length != 0)) { 171 if (!err && IW_IS_GET(cmd)) { 188 unsigned int cmd, struct iw_request_info *info, 194 extra_size = get_priv_descr_and_size(dev, cmd, 187 ioctl_private_call(struct net_device *dev, struct iwreq *iwr, unsigned int cmd, struct iw_request_info *info, iw_handler handler) argument 213 compat_private_call(struct net_device *dev, struct iwreq *iwr, unsigned int cmd, struct iw_request_info *info, iw_handler handler) argument [all...] |
/net/caif/ |
H A D | cfdgml.c | 43 u8 cmd = -1; local 50 if (cfpkt_extr_head(pkt, &cmd, 1) < 0) { 56 if ((cmd & DGM_CMD_BIT) == 0) { 66 switch (cmd) { 77 pr_info("Unknown datagram control %d (0x%x)\n", cmd, cmd);
|
H A D | cfutill.c | 42 u8 cmd = -1; local 48 if (cfpkt_extr_head(pkt, &cmd, 1) < 0) { 54 switch (cmd) { 73 pr_warn("Unknown service control %d (0x%x)\n", cmd, cmd);
|
H A D | cfveil.c | 41 u8 cmd; local 48 if (cfpkt_extr_head(pkt, &cmd, 1) < 0) { 53 switch (cmd) { 69 pr_warn("Unknown VEI control packet %d (0x%x)!\n", cmd, cmd);
|
/net/ieee802154/ |
H A D | ieee802154.h | 26 .cmd = _cmd, \ 35 .cmd = _cmd, \
|
/net/nfc/nci/ |
H A D | core.c | 132 struct nci_core_reset_cmd cmd; local 134 cmd.reset_type = NCI_RESET_TYPE_RESET_CONFIG; 135 nci_send_cmd(ndev, NCI_OP_CORE_RESET_CMD, 1, &cmd); 145 struct nci_rf_disc_map_cmd cmd; local 146 struct disc_map_config *cfg = cmd.mapping_configs; 147 __u8 *num = &cmd.num_mapping_configs; 176 (1 + ((*num) * sizeof(struct disc_map_config))), &cmd); 188 struct nci_core_set_config_cmd cmd; local 192 cmd.num_params = 1; 193 cmd 202 struct nci_rf_disc_cmd cmd; local 249 struct nci_rf_discover_select_cmd cmd; local 274 struct nci_rf_deactivate_cmd cmd; local [all...] |
/net/netfilter/ |
H A D | nf_conntrack_ftp.c | 151 struct nf_conntrack_man *cmd, char term) 160 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) | 162 cmd->u.tcp.port = htons((array[4] << 8) | array[5]); 193 static int try_eprt(const char *data, size_t dlen, struct nf_conntrack_man *cmd, argument 211 if ((cmd->l3num == PF_INET && data[1] != '1') || 212 (cmd->l3num == PF_INET6 && data[1] != '2')) { 225 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) 230 (struct in6_addr *)cmd->u3.ip6, delim); 237 return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); 242 struct nf_conntrack_man *cmd, cha 150 try_rfc959(const char *data, size_t dlen, struct nf_conntrack_man *cmd, char term) argument 241 try_epsv_response(const char *data, size_t dlen, struct nf_conntrack_man *cmd, char term) argument 257 find_pattern(const char *data, size_t dlen, const char *pattern, size_t plen, char skip, char term, unsigned int *numoff, unsigned int *numlen, struct nf_conntrack_man *cmd, int (*getnum)(const char *, size_t, struct nf_conntrack_man *, char)) argument 366 struct nf_conntrack_man cmd = {}; local [all...] |
/net/sctp/ |
H A D | sm_sideeffect.c | 1245 sctp_cmd_t *cmd; local 1262 * cmd->handle(x, y, z) 1265 while (NULL != (cmd = sctp_next_cmd(commands))) { 1266 switch (cmd->verb) { 1277 asoc = cmd->obj.asoc; 1284 sctp_assoc_update(asoc, cmd->obj.asoc); 1303 sctp_cmd_new_state(commands, asoc, cmd->obj.state); 1309 cmd->obj.u32, NULL); 1314 sctp_tsnmap_skip(&asoc->peer.tsn_map, cmd->obj.u32); 1317 sctp_ulpq_reasm_flushtsn(&asoc->ulpq, cmd [all...] |
/net/bluetooth/bnep/ |
H A D | sock.c | 52 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 62 BT_DBG("cmd %x arg %lx", cmd, arg); 64 switch (cmd) { 131 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 133 if (cmd == BNEPGETCONNLIST) { 155 return bnep_sock_ioctl(sock, cmd, arg);
|
/net/bluetooth/hidp/ |
H A D | sock.c | 49 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 60 BT_DBG("cmd %x arg %lx", cmd, arg); 62 switch (cmd) { 142 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 144 if (cmd == HIDPGETCONNLIST) { 164 } else if (cmd == HIDPCONNADD) { 195 return hidp_sock_ioctl(sock, cmd, arg);
|
/net/bridge/ |
H A D | br_ioctl.c | 112 static int old_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) argument 352 int br_ioctl_deviceless_stub(struct net *net, unsigned int cmd, void __user *uarg) argument 354 switch (cmd) { 371 if (cmd == SIOCBRADDBR) 380 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) argument 384 switch(cmd) { 386 return old_dev_ioctl(dev, rq, cmd); 390 return add_del_if(br, rq->ifr_ifindex, cmd == SIOCBRADDIF); 394 br_debug(br, "Bridge does not support ioctl 0x%x\n", cmd);
|
/net/wimax/ |
H A D | op-state-get.c | 78 .cmd = WIMAX_GNL_OP_STATE_GET,
|
/net/x25/ |
H A D | x25_route.c | 182 int x25_route_ioctl(unsigned int cmd, void __user *arg) argument 188 if (cmd != SIOCADDRT && cmd != SIOCDELRT) 203 if (cmd == SIOCADDRT)
|