/net/bridge/ |
H A D | br_notify.c | 2 * Device event handling 20 static int br_device_event(struct notifier_block *unused, unsigned long event, void *ptr); 32 static int br_device_event(struct notifier_block *unused, unsigned long event, void *ptr) argument 41 if ((dev->priv_flags & IFF_EBRIDGE) && event == NETDEV_REGISTER) { 53 switch (event) { 108 if (event == NETDEV_CHANGEADDR || event == NETDEV_UP || 109 event == NETDEV_CHANGE || event == NETDEV_DOWN)
|
H A D | br_netlink.c | 71 u32 pid, u32 seq, int event, unsigned int flags, 84 br_debug(br, "br_fill_info event %d port %s master %s\n", 85 event, dev->name, br->dev->name); 87 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags); 109 if (event == RTM_NEWLINK && port) { 167 void br_ifinfo_notify(int event, struct net_bridge_port *port) argument 177 br_debug(port->br, "port %u(%s) event %d\n", 178 (unsigned int)port->port_no, port->dev->name, event); 184 err = br_fill_ifinfo(skb, port, 0, 0, event, 0, 0, port->dev); 69 br_fill_ifinfo(struct sk_buff *skb, const struct net_bridge_port *port, u32 pid, u32 seq, int event, unsigned int flags, u32 filter_mask, const struct net_device *dev) argument
|
/net/irda/irlan/ |
H A D | irlan_provider_event.c | 33 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event, 35 static int irlan_provider_state_info(struct irlan_cb *self, IRLAN_EVENT event, 37 static int irlan_provider_state_open(struct irlan_cb *self, IRLAN_EVENT event, 39 static int irlan_provider_state_data(struct irlan_cb *self, IRLAN_EVENT event, 42 static int (*state[])(struct irlan_cb *self, IRLAN_EVENT event, 58 void irlan_do_provider_event(struct irlan_cb *self, IRLAN_EVENT event, argument 63 (*state[self->provider.state]) (self, event, skb); 67 * Function irlan_provider_state_idle (event, skb, info) 72 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event, argument 79 switch(event) { 99 irlan_provider_state_info(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 166 irlan_provider_state_open(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 205 irlan_provider_state_data(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument [all...] |
H A D | irlan_client_event.c | 39 static int irlan_client_state_idle (struct irlan_cb *self, IRLAN_EVENT event, 41 static int irlan_client_state_query(struct irlan_cb *self, IRLAN_EVENT event, 43 static int irlan_client_state_conn (struct irlan_cb *self, IRLAN_EVENT event, 45 static int irlan_client_state_info (struct irlan_cb *self, IRLAN_EVENT event, 47 static int irlan_client_state_media(struct irlan_cb *self, IRLAN_EVENT event, 49 static int irlan_client_state_open (struct irlan_cb *self, IRLAN_EVENT event, 51 static int irlan_client_state_wait (struct irlan_cb *self, IRLAN_EVENT event, 53 static int irlan_client_state_arb (struct irlan_cb *self, IRLAN_EVENT event, 55 static int irlan_client_state_data (struct irlan_cb *self, IRLAN_EVENT event, 57 static int irlan_client_state_close(struct irlan_cb *self, IRLAN_EVENT event, 77 irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 92 irlan_client_state_idle(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 136 irlan_client_state_query(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 189 irlan_client_state_conn(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 224 irlan_client_state_info(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 266 irlan_client_state_media(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 303 irlan_client_state_open(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 376 irlan_client_state_wait(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 405 irlan_client_state_arb(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 462 irlan_client_state_data(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 494 irlan_client_state_close(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument 511 irlan_client_state_sync(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument [all...] |
/net/irda/ircomm/ |
H A D | ircomm_event.c | 43 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event, 45 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event, 47 static int ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event, 49 static int ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event, 80 static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event, 90 * Function ircomm_state_idle (self, event, skb) 95 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event, argument 100 switch (event) { 111 IRDA_DEBUG(4, "%s(), unknown event: %s\n", __func__ , 112 ircomm_event[event]); 124 ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument 154 ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument 187 ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument 229 ircomm_do_event(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument [all...] |
/net/rds/ |
H A D | rdma_transport.c | 69 struct rdma_cm_event *event) 76 rdsdebug("conn %p id %p handling event %u (%s)\n", conn, cm_id, 77 event->event, rds_cm_event_str(event->event)); 95 if (event->event == RDMA_CM_EVENT_CONNECT_REQUEST) 101 switch (event->event) { 68 rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id, struct rdma_cm_event *event) argument [all...] |
/net/openvswitch/ |
H A D | dp_notify.c | 77 static int dp_device_event(struct notifier_block *unused, unsigned long event, argument 90 if (event == NETDEV_UNREGISTER) {
|
/net/ |
H A D | activity_stats.c | 80 unsigned long event, void *dummy) 82 switch (event) { 79 activity_stats_notifier(struct notifier_block *nb, unsigned long event, void *dummy) argument
|
/net/dccp/ |
H A D | timer.c | 132 int event = 0; local 151 event = icsk->icsk_pending; 154 switch (event) {
|
/net/ipv6/netfilter/ |
H A D | ip6t_MASQUERADE.c | 72 unsigned long event, void *ptr) 77 if (event == NETDEV_DOWN) 89 unsigned long event, void *ptr) 93 return masq_device_event(this, event, ifa->idev->dev); 71 masq_device_event(struct notifier_block *this, unsigned long event, void *ptr) argument 88 masq_inet_event(struct notifier_block *this, unsigned long event, void *ptr) argument
|
/net/ipv4/netfilter/ |
H A D | ipt_MASQUERADE.c | 108 unsigned long event, 114 if (event == NETDEV_DOWN) { 128 unsigned long event, 132 return masq_device_event(this, event, dev); 107 masq_device_event(struct notifier_block *this, unsigned long event, void *ptr) argument 127 masq_inet_event(struct notifier_block *this, unsigned long event, void *ptr) argument
|
/net/ipv4/ |
H A D | tcp_memcontrol.c | 205 static int tcp_cgroup_reset(struct cgroup *cont, unsigned int event) argument 217 switch (event) {
|
H A D | tcp_vegas.c | 153 void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event) argument 155 if (event == CA_EVENT_CWND_RESTART || 156 event == CA_EVENT_TX_START)
|
H A D | tcp_veno.c | 111 static void tcp_veno_cwnd_event(struct sock *sk, enum tcp_ca_event event) argument 113 if (event == CA_EVENT_CWND_RESTART || event == CA_EVENT_TX_START)
|
H A D | tcp_westwood.c | 225 static void tcp_westwood_event(struct sock *sk, enum tcp_ca_event event) argument 230 switch (event) {
|
/net/irda/ |
H A D | iriap_event.c | 34 static void state_s_disconnect (struct iriap_cb *self, IRIAP_EVENT event, 36 static void state_s_connecting (struct iriap_cb *self, IRIAP_EVENT event, 38 static void state_s_call (struct iriap_cb *self, IRIAP_EVENT event, 41 static void state_s_make_call (struct iriap_cb *self, IRIAP_EVENT event, 43 static void state_s_calling (struct iriap_cb *self, IRIAP_EVENT event, 45 static void state_s_outstanding (struct iriap_cb *self, IRIAP_EVENT event, 47 static void state_s_replying (struct iriap_cb *self, IRIAP_EVENT event, 49 static void state_s_wait_for_call(struct iriap_cb *self, IRIAP_EVENT event, 51 static void state_s_wait_active (struct iriap_cb *self, IRIAP_EVENT event, 54 static void state_r_disconnect (struct iriap_cb *self, IRIAP_EVENT event, 128 iriap_do_client_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 137 iriap_do_call_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 146 iriap_do_server_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 155 iriap_do_r_connect_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 171 state_s_disconnect(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 201 state_s_connecting(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 234 state_s_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 257 state_s_make_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 285 state_s_calling(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 297 state_s_outstanding(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 320 state_s_replying(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 332 state_s_wait_for_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 345 state_s_wait_active(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 363 state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 399 state_r_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 423 state_r_waiting(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 429 state_r_wait_active(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 441 state_r_receiving(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 464 state_r_execute(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument 493 state_r_returning(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument [all...] |
H A D | irlap_event.c | 50 static int irlap_state_ndm (struct irlap_cb *self, IRLAP_EVENT event, 52 static int irlap_state_query (struct irlap_cb *self, IRLAP_EVENT event, 54 static int irlap_state_reply (struct irlap_cb *self, IRLAP_EVENT event, 56 static int irlap_state_conn (struct irlap_cb *self, IRLAP_EVENT event, 58 static int irlap_state_setup (struct irlap_cb *self, IRLAP_EVENT event, 60 static int irlap_state_offline(struct irlap_cb *self, IRLAP_EVENT event, 62 static int irlap_state_xmit_p (struct irlap_cb *self, IRLAP_EVENT event, 64 static int irlap_state_pclose (struct irlap_cb *self, IRLAP_EVENT event, 66 static int irlap_state_nrm_p (struct irlap_cb *self, IRLAP_EVENT event, 68 static int irlap_state_reset_wait(struct irlap_cb *self, IRLAP_EVENT event, 237 irlap_do_event(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 326 irlap_state_ndm(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 558 irlap_state_query(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 669 irlap_state_reply(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 737 irlap_state_conn(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 831 irlap_state_setup(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 967 irlap_state_offline(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 983 irlap_state_xmit_p(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 1137 irlap_state_pclose(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 1194 irlap_state_nrm_p(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 1608 irlap_state_reset_wait(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 1655 irlap_state_reset(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 1748 irlap_state_xmit_s(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 1868 irlap_state_nrm_s(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 2227 irlap_state_sclose(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument 2296 irlap_state_reset_check( struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument [all...] |
H A D | irlmp_event.c | 5 * Description: An IrDA LMP event driver for Linux 139 int irlmp_do_lsap_event(struct lsap_cb *self, IRLMP_EVENT event, argument 146 __func__, irlmp_event[event], irlsap_state[ self->lsap_state]); 148 return (*lsap_state[self->lsap_state]) (self, event, skb); 152 * Function do_lap_event (event, skb, info) 157 void irlmp_do_lap_event(struct lap_cb *self, IRLMP_EVENT event, argument 164 irlmp_event[event], 167 (*lap_state[self->lap_state]) (self, event, skb); 208 * Send an event on all LSAPs attached to this LAP. 212 IRLMP_EVENT event) 211 irlmp_do_all_lsap_event(hashbin_t * lsap_hashbin, IRLMP_EVENT event) argument 256 irlmp_state_standby(struct lap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument 306 irlmp_state_u_connect(struct lap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument 381 irlmp_state_active(struct lap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument 488 irlmp_state_disconnected(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument 567 irlmp_state_connect(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument 629 irlmp_state_connect_pend(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument 695 irlmp_state_dtr(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument 787 irlmp_state_setup(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument 859 irlmp_state_setup_pend(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument [all...] |
/net/netfilter/ |
H A D | xt_TEE.c | 200 static int tee_netdev_event(struct notifier_block *this, unsigned long event, argument 207 switch (event) {
|
/net/phonet/ |
H A D | pn_netlink.c | 36 u32 portid, u32 seq, int event); 38 void phonet_address_notify(int event, struct net_device *dev, u8 addr) argument 47 err = fill_addr(skb, dev, addr, 0, 0, event); 107 u32 portid, u32 seq, int event) 112 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); 171 u32 portid, u32 seq, int event) 176 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0); 200 void rtm_phonet_notify(int event, struct net_device *dev, u8 dst) argument 209 err = fill_route(skb, dev, dst, 0, 0, event); 106 fill_addr(struct sk_buff *skb, struct net_device *dev, u8 addr, u32 portid, u32 seq, int event) argument 170 fill_route(struct sk_buff *skb, struct net_device *dev, u8 dst, u32 portid, u32 seq, int event) argument
|
/net/wireless/ |
H A D | wext-sme.c | 96 bool event = true; local 103 /* if SSID set, we'll try right again, avoid event */ 105 event = false; 107 WLAN_REASON_DEAUTH_LEAVING, event); 201 bool event = true; local 208 /* if SSID set now, we'll try to connect, avoid event */ 210 event = false; 212 WLAN_REASON_DEAUTH_LEAVING, event);
|
/net/xfrm/ |
H A D | xfrm_replay.c | 49 static void xfrm_replay_notify(struct xfrm_state *x, int event) argument 62 switch (event) { 68 event = XFRM_REPLAY_TIMEOUT; 86 c.event = XFRM_MSG_NEWAE; 87 c.data.aevent = event; 287 static void xfrm_replay_notify_bmp(struct xfrm_state *x, int event) argument 303 switch (event) { 309 event = XFRM_REPLAY_TIMEOUT; 328 c.event = XFRM_MSG_NEWAE; 329 c.data.aevent = event; 337 xfrm_replay_notify_esn(struct xfrm_state *x, int event) argument [all...] |
/net/802/ |
H A D | garp.c | 279 enum garp_attr_event event) 304 ga->event = event; 314 struct garp_attr *attr, enum garp_event event) 318 state = garp_applicant_state_table[attr->state][event].state; 322 switch (garp_applicant_state_table[attr->state][event].action) { 327 * order to retry on next TRANSMIT_PDU event. */ 383 static void garp_gid_event(struct garp_applicant *app, enum garp_event event) argument 392 garp_attr_event(app, attr, event); 433 enum garp_event event; local 277 garp_pdu_append_attr(struct garp_applicant *app, const struct garp_attr *attr, enum garp_attr_event event) argument 313 garp_attr_event(struct garp_applicant *app, struct garp_attr *attr, enum garp_event event) argument [all...] |
/net/8021q/ |
H A D | vlan.c | 322 static void __vlan_device_event(struct net_device *dev, unsigned long event) argument 324 switch (event) { 341 static int vlan_device_event(struct notifier_block *unused, unsigned long event, argument 354 __vlan_device_event(dev, event); 356 if ((event == NETDEV_UP) && 372 switch (event) { 464 call_netdevice_notifiers(event, vlandev);
|
/net/batman-adv/ |
H A D | hard-interface.c | 596 unsigned long event, void *ptr) 603 if (batadv_softif_is_valid(net_dev) && event == NETDEV_REGISTER) { 609 if (!hard_iface && event == NETDEV_REGISTER) 615 switch (event) { 595 batadv_hard_if_event(struct notifier_block *this, unsigned long event, void *ptr) argument
|