Searched refs:mpoa_client (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/net/atm/
H A Dmpoa_caches.h10 struct mpoa_client;
12 void atm_mpoa_init_cache(struct mpoa_client *mpc);
33 struct mpoa_client *client);
34 in_cache_entry *(*get)(__be32 dst_ip, struct mpoa_client *client);
36 struct mpoa_client *client,
39 struct mpoa_client *client);
42 struct mpoa_client *client );
44 struct mpoa_client *client);
45 void (*clear_count)(struct mpoa_client *client);
46 void (*check_resolving)(struct mpoa_client *client);
47 void (*refresh)(struct mpoa_client *client);
48 void (*destroy_cache)(struct mpoa_client *mpc);
65 eg_cache_entry *(*add_entry)(struct k_message *msg, struct mpoa_client *client);
66 eg_cache_entry *(*get_by_cache_id)(__be32 cache_id, struct mpoa_client *client);
67 eg_cache_entry *(*get_by_tag)(__be32 cache_id, struct mpoa_client *client);
68 eg_cache_entry *(*get_by_vcc)(struct atm_vcc *vcc, struct mpoa_client *client);
69 eg_cache_entry *(*get_by_src_ip)(__be32 ipaddr, struct mpoa_client *client);
71 void (*remove_entry)(eg_cache_entry *entry, struct mpoa_client *client);
73 void (*clear_expired)(struct mpoa_client *client);
74 void (*destroy_cache)(struct mpoa_client *mpc);
H A Dmpc.h12 int msg_to_mpoad(struct k_message *msg, struct mpoa_client *mpc);
14 struct mpoa_client { struct
15 struct mpoa_client *next;
H A Dmpoa_caches.c35 struct mpoa_client *client) in_cache_get()
55 struct mpoa_client *client, in_cache_get_with_mask()
77 struct mpoa_client *client) in_cache_get_by_vcc()
97 struct mpoa_client *client) in_cache_add_entry()
132 static int cache_hit(in_cache_entry *entry, struct mpoa_client *mpc) cache_hit()
191 struct mpoa_client *client) in_cache_remove_entry()
226 static void clear_count_and_expired(struct mpoa_client *client) clear_count_and_expired()
250 static void check_resolving_entries(struct mpoa_client *client) check_resolving_entries()
300 static void refresh_entries(struct mpoa_client *client) refresh_entries()
325 static void in_destroy_cache(struct mpoa_client *mpc) in_destroy_cache()
334 struct mpoa_client *mpc) eg_cache_get_by_cache_id()
354 static eg_cache_entry *eg_cache_get_by_tag(__be32 tag, struct mpoa_client *mpc) eg_cache_get_by_tag()
376 struct mpoa_client *mpc) eg_cache_get_by_vcc()
397 struct mpoa_client *mpc) eg_cache_get_by_src_ip()
428 struct mpoa_client *client) eg_cache_remove_entry()
459 struct mpoa_client *client) eg_cache_add_entry()
502 static void clear_expired(struct mpoa_client *client) clear_expired()
528 static void eg_destroy_cache(struct mpoa_client *mpc) eg_destroy_cache()
565 void atm_mpoa_init_cache(struct mpoa_client *mpc) atm_mpoa_init_cache()
H A Dmpc.c68 static void MPOA_trigger_rcvd(struct k_message *msg, struct mpoa_client *mpc);
69 static void MPOA_res_reply_rcvd(struct k_message *msg, struct mpoa_client *mpc);
70 static void ingress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc);
71 static void egress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc);
72 static void mps_death(struct k_message *msg, struct mpoa_client *mpc);
73 static void clean_up(struct k_message *msg, struct mpoa_client *mpc,
76 struct mpoa_client *mpc);
78 struct mpoa_client *mpc);
80 struct mpoa_client *mpc);
82 static const uint8_t *copy_macs(struct mpoa_client *mpc,
88 static void send_set_mps_ctrl_addr(const char *addr, struct mpoa_client *mpc);
122 struct mpoa_client *mpcs = NULL; /* FIXME */
127 static struct mpoa_client *find_mpc_by_itfnum(int itf) find_mpc_by_itfnum()
129 struct mpoa_client *mpc; find_mpc_by_itfnum()
141 static struct mpoa_client *find_mpc_by_vcc(struct atm_vcc *vcc) find_mpc_by_vcc()
143 struct mpoa_client *mpc; find_mpc_by_vcc()
155 static struct mpoa_client *find_mpc_by_lec(struct net_device *dev) find_mpc_by_lec()
157 struct mpoa_client *mpc; find_mpc_by_lec()
280 static struct mpoa_client *alloc_mpc(void) alloc_mpc()
282 struct mpoa_client *mpc; alloc_mpc()
284 mpc = kzalloc(sizeof(struct mpoa_client), GFP_KERNEL); alloc_mpc()
311 static void start_mpc(struct mpoa_client *mpc, struct net_device *dev) start_mpc()
325 static void stop_mpc(struct mpoa_client *mpc) stop_mpc()
380 struct mpoa_client *mpc; lane2_assoc_ind()
463 static const uint8_t *copy_macs(struct mpoa_client *mpc, copy_macs()
491 static int send_via_shortcut(struct sk_buff *skb, struct mpoa_client *mpc) send_via_shortcut()
573 struct mpoa_client *mpc; mpc_send_packet()
608 struct mpoa_client *mpc; atm_mpoa_vcc_attach()
656 struct mpoa_client *mpc; mpc_vcc_close()
690 struct mpoa_client *mpc; mpc_push()
797 struct mpoa_client *mpc; atm_mpoa_mpoad_attach()
859 static void send_set_mps_ctrl_addr(const char *addr, struct mpoa_client *mpc) send_set_mps_ctrl_addr()
872 struct mpoa_client *mpc; mpoad_close()
912 struct mpoa_client *mpc = find_mpc_by_vcc(vcc); msg_from_mpoad()
976 int msg_to_mpoad(struct k_message *mesg, struct mpoa_client *mpc) msg_to_mpoad()
1004 struct mpoa_client *mpc; mpoa_event_listener()
1081 static void MPOA_trigger_rcvd(struct k_message *msg, struct mpoa_client *mpc) MPOA_trigger_rcvd()
1118 struct mpoa_client *client, check_qos_and_open_shortcut()
1156 static void MPOA_res_reply_rcvd(struct k_message *msg, struct mpoa_client *mpc) MPOA_res_reply_rcvd()
1206 static void ingress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc) ingress_purge_rcvd()
1229 static void egress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc) egress_purge_rcvd()
1284 static void mps_death(struct k_message *msg, struct mpoa_client *mpc) mps_death()
1309 struct mpoa_client *mpc) MPOA_cache_impos_rcvd()
1335 struct mpoa_client *mpc) set_mpc_ctrl_addr_rcvd()
1372 struct mpoa_client *client) set_mps_mac_addr_rcvd()
1389 static void clean_up(struct k_message *msg, struct mpoa_client *mpc, int action) clean_up()
1421 struct mpoa_client *mpc = mpcs; mpc_cache_check()
1489 struct mpoa_client *mpc, *tmp; atm_mpoa_cleanup()
1514 memset(mpc, 0, sizeof(struct mpoa_client)); atm_mpoa_cleanup()
H A Dmpoa_proc.c46 extern struct mpoa_client *mpcs;
110 struct mpoa_client *mpc; mpc_start()
122 struct mpoa_client *p = v; mpc_next()
136 struct mpoa_client *mpc = v; mpc_show()

Completed in 186 milliseconds