Home
last modified time | relevance | path

Searched refs:mpc (Results 1 – 6 of 6) sorted by relevance

/net/atm/
Dmpc.c69 static void MPOA_trigger_rcvd(struct k_message *msg, struct mpoa_client *mpc);
70 static void MPOA_res_reply_rcvd(struct k_message *msg, struct mpoa_client *mpc);
71 static void ingress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc);
72 static void egress_purge_rcvd(struct k_message *msg, struct mpoa_client *mpc);
73 static void mps_death(struct k_message *msg, struct mpoa_client *mpc);
74 static void clean_up(struct k_message *msg, struct mpoa_client *mpc,
77 struct mpoa_client *mpc);
79 struct mpoa_client *mpc);
81 struct mpoa_client *mpc);
83 static const uint8_t *copy_macs(struct mpoa_client *mpc,
[all …]
Dmpoa_caches.c133 static int cache_hit(in_cache_entry *entry, struct mpoa_client *mpc) in cache_hit() argument
143 if (entry->count > mpc->parameters.mpc_p1) { in cache_hit()
146 memcpy(msg.MPS_ctrl, mpc->mps_ctrl_addr, ATM_ESA_LEN); in cache_hit()
150 msg_to_mpoad(&msg, mpc); in cache_hit()
162 if (entry->count > mpc->parameters.mpc_p1 && in cache_hit()
165 mpc->dev->name, &entry->ctrl_info.in_dst_ip); in cache_hit()
168 memcpy(msg.MPS_ctrl, mpc->mps_ctrl_addr, ATM_ESA_LEN); in cache_hit()
173 msg_to_mpoad(&msg, mpc); in cache_hit()
324 static void in_destroy_cache(struct mpoa_client *mpc) in in_destroy_cache() argument
326 write_lock_irq(&mpc->ingress_lock); in in_destroy_cache()
[all …]
Dmpoa_proc.c107 struct mpoa_client *mpc; in mpc_start() local
111 for (mpc = mpcs; mpc; mpc = mpc->next) in mpc_start()
113 return mpc; in mpc_start()
133 struct mpoa_client *mpc = v; in mpc_show() local
145 seq_printf(m, "\nInterface %d:\n\n", mpc->dev_num); in mpc_show()
149 for (in_entry = mpc->in_cache; in_entry; in_entry = in_entry->next) { in mpc_show()
168 for (eg_entry = mpc->eg_cache; eg_entry; eg_entry = eg_entry->next) { in mpc_show()
Dmpoa_caches.h15 void atm_mpoa_init_cache(struct mpoa_client *mpc);
51 void (*destroy_cache)(struct mpoa_client *mpc);
77 void (*destroy_cache)(struct mpoa_client *mpc);
DMakefile7 mpoa-objs := mpc.o mpoa_caches.o mpoa_proc.o
Dmpc.h13 int msg_to_mpoad(struct k_message *msg, struct mpoa_client *mpc);