/net/ipv4/ |
D | xfrm4_protocol.c | 40 #define for_each_protocol_rcu(head, handler) \ argument 41 for (handler = rcu_dereference(head); \ 42 handler != NULL; \ 43 handler = rcu_dereference(handler->next)) \ 48 struct xfrm4_protocol *handler; in xfrm4_rcv_cb() local 54 for_each_protocol_rcu(*head, handler) in xfrm4_rcv_cb() 55 if ((ret = handler->cb_handler(skb, err)) <= 0) in xfrm4_rcv_cb() 65 struct xfrm4_protocol *handler; in xfrm4_rcv_encap() local 75 for_each_protocol_rcu(*head, handler) in xfrm4_rcv_encap() 76 if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL) in xfrm4_rcv_encap() [all …]
|
D | tunnel4.c | 31 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family) in xfrm4_tunnel_register() argument 37 int priority = handler->priority; in xfrm4_tunnel_register() 51 handler->next = *pprev; in xfrm4_tunnel_register() 52 rcu_assign_pointer(*pprev, handler); in xfrm4_tunnel_register() 63 int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family) in xfrm4_tunnel_deregister() argument 75 if (t == handler) { in xfrm4_tunnel_deregister() 76 *pprev = handler->next; in xfrm4_tunnel_deregister() 90 #define for_each_tunnel_rcu(head, handler) \ argument 91 for (handler = rcu_dereference(head); \ 92 handler != NULL; \ [all …]
|
D | inet_diag.c | 61 static void inet_diag_unlock_handler(const struct inet_diag_handler *handler) in inet_diag_unlock_handler() argument 95 const struct inet_diag_handler *handler; in inet_sk_attr_size() local 98 handler = inet_diag_table[req->sdiag_protocol]; in inet_sk_attr_size() 99 if (handler && handler->idiag_get_aux_size) in inet_sk_attr_size() 100 aux = handler->idiag_get_aux_size(sk, net_admin); in inet_sk_attr_size() 167 const struct inet_diag_handler *handler; in inet_sk_diag_fill() local 174 handler = inet_diag_table[req->sdiag_protocol]; in inet_sk_diag_fill() 175 BUG_ON(!handler); in inet_sk_diag_fill() 219 handler->idiag_get_info(sk, r, NULL); in inet_sk_diag_fill() 245 if ((ext & (1 << (INET_DIAG_INFO - 1))) && handler->idiag_info_size) { in inet_sk_diag_fill() [all …]
|
D | icmp.c | 189 bool (*handler)(struct sk_buff *skb); member 1068 success = icmp_pointers[icmph->type].handler(skb); in icmp_rcv() 1116 .handler = ping_rcv, 1119 .handler = icmp_discard, 1123 .handler = icmp_discard, 1127 .handler = icmp_unreach, 1131 .handler = icmp_unreach, 1135 .handler = icmp_redirect, 1139 .handler = icmp_discard, 1143 .handler = icmp_discard, [all …]
|
D | gre_demux.c | 153 if (!proto || !proto->handler) in gre_rcv() 155 ret = proto->handler(skb); in gre_rcv() 188 .handler = gre_rcv,
|
D | xfrm4_tunnel.c | 65 .handler = xfrm_tunnel_rcv, 72 .handler = xfrm_tunnel_rcv,
|
D | ip_vti.c | 429 .handler = vti_rcv_proto, 437 .handler = vti_rcv_proto, 445 .handler = vti_rcv_proto, 453 .handler = vti_rcv_tunnel,
|
/net/ipv6/ |
D | xfrm6_protocol.c | 40 #define for_each_protocol_rcu(head, handler) \ argument 41 for (handler = rcu_dereference(head); \ 42 handler != NULL; \ 43 handler = rcu_dereference(handler->next)) \ 48 struct xfrm6_protocol *handler; in xfrm6_rcv_cb() local 54 for_each_protocol_rcu(*proto_handlers(protocol), handler) in xfrm6_rcv_cb() 55 if ((ret = handler->cb_handler(skb, err)) <= 0) in xfrm6_rcv_cb() 64 struct xfrm6_protocol *handler; in xfrm6_esp_rcv() local 68 for_each_protocol_rcu(esp6_handlers, handler) in xfrm6_esp_rcv() 69 if ((ret = handler->handler(skb)) != -EINVAL) in xfrm6_esp_rcv() [all …]
|
D | tunnel6.c | 26 int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family) in xfrm6_tunnel_register() argument 31 int priority = handler->priority; in xfrm6_tunnel_register() 45 handler->next = *pprev; in xfrm6_tunnel_register() 46 rcu_assign_pointer(*pprev, handler); in xfrm6_tunnel_register() 57 int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family) in xfrm6_tunnel_deregister() argument 69 if (t == handler) { in xfrm6_tunnel_deregister() 70 *pprev = handler->next; in xfrm6_tunnel_deregister() 84 #define for_each_tunnel_rcu(head, handler) \ argument 85 for (handler = rcu_dereference(head); \ 86 handler != NULL; \ [all …]
|
D | xfrm6_tunnel.c | 304 .handler = xfrm6_tunnel_rcv, 310 .handler = xfrm6_tunnel_rcv,
|
/net/iucv/ |
D | iucv.c | 767 int iucv_register(struct iucv_handler *handler, int smp) in iucv_register() argument 782 INIT_LIST_HEAD(&handler->paths); in iucv_register() 785 list_add_tail(&handler->list, &iucv_handler_list); in iucv_register() 801 void iucv_unregister(struct iucv_handler *handler, int smp) in iucv_unregister() argument 808 list_del_init(&handler->list); in iucv_unregister() 810 list_for_each_entry_safe(p, n, &handler->paths, list) { in iucv_unregister() 864 int iucv_path_accept(struct iucv_path *path, struct iucv_handler *handler, in iucv_path_accept() argument 911 int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler, in iucv_path_connect() argument 948 path->handler = handler; in iucv_path_connect() 950 list_add_tail(&path->list, &handler->paths); in iucv_path_connect() [all …]
|
/net/wireless/ |
D | wext-priv.c | 139 iw_handler handler, struct net_device *dev, in ioctl_private_iw_point() argument 168 err = handler(dev, info, (union iwreq_data *) iwp, extra); in ioctl_private_iw_point() 189 iw_handler handler) in ioctl_private_call() argument 199 ret = handler(dev, info, &(iwr->u), (char *) &(iwr->u)); in ioctl_private_call() 202 handler, dev, info, extra_size); in ioctl_private_call() 215 iw_handler handler) in compat_private_call() argument 225 ret = handler(dev, info, &(iwr->u), (char *) &(iwr->u)); in compat_private_call() 236 handler, dev, info, extra_size); in compat_private_call()
|
D | wext-core.c | 718 iw_handler handler, struct net_device *dev, in ioctl_standard_iw_point() argument 838 err = handler(dev, info, (union iwreq_data *) iwp, extra); in ioctl_standard_iw_point() 922 iw_handler handler; in wireless_process_ioctl() local 949 handler = get_handler(dev, cmd); in wireless_process_ioctl() 950 if (handler) { in wireless_process_ioctl() 953 return standard(dev, iwr, cmd, info, handler); in wireless_process_ioctl() 955 return private(dev, iwr, cmd, info, handler); in wireless_process_ioctl() 1001 iw_handler handler) in ioctl_standard_call() argument 1015 ret = handler(dev, info, &(iwr->u), NULL); in ioctl_standard_call() 1023 handler, dev, info); in ioctl_standard_call() [all …]
|
/net/smc/ |
D | smc_wr.c | 42 smc_wr_tx_handler handler; member 106 if (pnd_snd.handler) in smc_wr_tx_process_cqe() 107 pnd_snd.handler(&pnd_snd.priv, link, wc->status); in smc_wr_tx_process_cqe() 169 smc_wr_tx_handler handler, in smc_wr_tx_get_free_slot() argument 203 wr_pend->handler = handler; in smc_wr_tx_get_free_slot() 315 int smc_wr_rx_register_handler(struct smc_wr_rx_handler *handler) in smc_wr_rx_register_handler() argument 321 hash_for_each_possible(smc_wr_rx_hash, h_iter, list, handler->type) { in smc_wr_rx_register_handler() 322 if (h_iter->type == handler->type) { in smc_wr_rx_register_handler() 327 hash_add(smc_wr_rx_hash, &handler->list, handler->type); in smc_wr_rx_register_handler() 340 struct smc_wr_rx_handler *handler; in smc_wr_rx_demultiplex() local [all …]
|
D | smc_llc.c | 721 .handler = smc_llc_rx_handler, 725 .handler = smc_llc_rx_handler, 729 .handler = smc_llc_rx_handler, 733 .handler = smc_llc_rx_handler, 737 .handler = smc_llc_rx_handler, 741 .handler = smc_llc_rx_handler, 745 .handler = smc_llc_rx_handler, 749 .handler = NULL, 755 struct smc_wr_rx_handler *handler; in smc_llc_init() local 758 for (handler = smc_llc_rx_handlers; handler->handler; handler++) { in smc_llc_init() [all …]
|
D | smc_cdc.c | 384 .handler = smc_cdc_rx_handler, 388 .handler = NULL, 394 struct smc_wr_rx_handler *handler; in smc_cdc_init() local 397 for (handler = smc_cdc_rx_handlers; handler->handler; handler++) { in smc_cdc_init() 398 INIT_HLIST_NODE(&handler->list); in smc_cdc_init() 399 rc = smc_wr_rx_register_handler(handler); in smc_cdc_init()
|
D | smc_wr.h | 46 void (*handler)(struct ib_wc *, void *); member 86 int smc_wr_tx_get_free_slot(struct smc_link *link, smc_wr_tx_handler handler, 100 int smc_wr_rx_register_handler(struct smc_wr_rx_handler *handler);
|
/net/llc/ |
D | llc_input.c | 42 void llc_add_pack(int type, void (*handler)(struct llc_sap *sap, in llc_add_pack() 47 llc_type_handlers[type - 1] = handler; in llc_add_pack() 57 void llc_set_station_handler(void (*handler)(struct sk_buff *skb)) in llc_set_station_handler() 60 if (handler) in llc_set_station_handler() 63 llc_station_handler = handler; in llc_set_station_handler() 65 if (!handler) in llc_set_station_handler()
|
/net/netfilter/ |
D | nf_conntrack_sip.c | 1433 const struct sip_handler *handler; in process_sip_response() local 1435 handler = &sip_handlers[i]; in process_sip_response() 1436 if (handler->response == NULL) in process_sip_response() 1438 if (*datalen < matchend + handler->len || in process_sip_response() 1439 strncasecmp(*dptr + matchend, handler->method, handler->len)) in process_sip_response() 1441 return handler->response(skb, protoff, dataoff, dptr, datalen, in process_sip_response() 1474 const struct sip_handler *handler; in process_sip_request() local 1476 handler = &sip_handlers[i]; in process_sip_request() 1477 if (handler->request == NULL) in process_sip_request() 1479 if (*datalen < handler->len + 2 || in process_sip_request() [all …]
|
/net/rfkill/ |
D | input.c | 218 static int rfkill_connect(struct input_handler *handler, struct input_dev *dev, in rfkill_connect() argument 229 handle->handler = handler; in rfkill_connect()
|
/net/xfrm/ |
D | xfrm_interface.c | 764 .handler = xfrm6_rcv, 771 .handler = xfrm6_rcv, 778 .handler = xfrm6_rcv, 785 .handler = xfrm4_rcv, 793 .handler = xfrm4_rcv, 801 .handler = xfrm4_rcv,
|
/net/ncsi/ |
D | ncsi-cmd.c | 233 int (*handler)(struct sk_buff *skb, member 327 if (ncsi_cmd_handlers[i].handler) in ncsi_xmit_cmd() 362 ret = nch->handler(nr->cmd, nca); in ncsi_xmit_cmd()
|
D | ncsi-aen.c | 200 int (*handler)(struct ncsi_dev_priv *ndp, member 237 ret = nah->handler(ndp, h); in ncsi_aen_handler()
|
/net/rds/ |
D | rdma_transport.c | 194 static int rds_rdma_listen_init_common(rdma_cm_event_handler handler, in rds_rdma_listen_init_common() argument 201 cm_id = rdma_create_id(&init_net, handler, NULL, in rds_rdma_listen_init_common()
|
/net/bluetooth/ |
D | hci_sock.c | 1473 const struct hci_mgmt_handler *handler; in hci_mgmt_cmd() local 1522 handler = &chan->handlers[opcode]; in hci_mgmt_cmd() 1525 !(handler->flags & HCI_MGMT_UNTRUSTED)) { in hci_mgmt_cmd() 1548 !(handler->flags & HCI_MGMT_UNCONFIGURED)) { in hci_mgmt_cmd() 1555 no_hdev = (handler->flags & HCI_MGMT_NO_HDEV); in hci_mgmt_cmd() 1562 var_len = (handler->flags & HCI_MGMT_VAR_LEN); in hci_mgmt_cmd() 1563 if ((var_len && len < handler->data_len) || in hci_mgmt_cmd() 1564 (!var_len && len != handler->data_len)) { in hci_mgmt_cmd() 1575 err = handler->func(sk, hdev, cp, len); in hci_mgmt_cmd()
|