| /Linux-v5.4/include/linux/ | 
| D | atmdev.h | 92 struct atm_vcc {  struct104 	void (*release_cb)(struct atm_vcc *vcc); /* release_sock callback */  argument
 105 	void (*push)(struct atm_vcc *vcc,struct sk_buff *skb);  argument
 106 	void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */  argument
 107 	int (*push_oam)(struct atm_vcc *vcc,void *cell);  argument
 108 	int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);  argument
 118 	struct atm_vcc	*session;	/* session VCC descriptor */  argument
 125 static inline struct atm_vcc *atm_sk(struct sock *sk)  in atm_sk()  argument
 127 	return (struct atm_vcc *)sk;  in atm_sk()
 130 static inline struct atm_vcc *ATM_SD(struct socket *sock)  in ATM_SD()
 [all …]
 
 | 
| /Linux-v5.4/net/atm/ | 
| D | signaling.h | 15 extern struct atm_vcc *sigd; /* needed in svc_release */23 void sigd_enq2(struct atm_vcc *vcc,enum atmsvc_msg_type type,
 24     struct atm_vcc *listen_vcc,const struct sockaddr_atmpvc *pvc,
 26 void sigd_enq(struct atm_vcc *vcc,enum atmsvc_msg_type type,
 27     struct atm_vcc *listen_vcc,const struct sockaddr_atmpvc *pvc,
 29 int sigd_attach(struct atm_vcc *vcc);
 
 | 
| D | signaling.c | 23 struct atm_vcc *sigd = NULL;37 static void modify_qos(struct atm_vcc *vcc, struct atmsvc_msg *msg)  in modify_qos()
 64 static int sigd_send(struct atm_vcc *vcc, struct sk_buff *skb)  in sigd_send()
 67 	struct atm_vcc *session_vcc;  in sigd_send()
 72 	vcc = *(struct atm_vcc **) &msg->vcc;  in sigd_send()
 103 		vcc = *(struct atm_vcc **)&msg->listen_vcc;  in sigd_send()
 142 void sigd_enq2(struct atm_vcc *vcc, enum atmsvc_msg_type type,  in sigd_enq2()
 143 	       struct atm_vcc *listen_vcc, const struct sockaddr_atmpvc *pvc,  in sigd_enq2()
 156 	*(struct atm_vcc **) &msg->vcc = vcc;  in sigd_enq2()
 157 	*(struct atm_vcc **) &msg->listen_vcc = listen_vcc;  in sigd_enq2()
 [all …]
 
 | 
| D | raw.c | 23 static void atm_push_raw(struct atm_vcc *vcc, struct sk_buff *skb)  in atm_push_raw()33 static void atm_pop_raw(struct atm_vcc *vcc, struct sk_buff *skb)  in atm_pop_raw()
 44 static int atm_send_aal0(struct atm_vcc *vcc, struct sk_buff *skb)  in atm_send_aal0()
 60 int atm_init_aal0(struct atm_vcc *vcc)  in atm_init_aal0()
 69 int atm_init_aal34(struct atm_vcc *vcc)  in atm_init_aal34()
 78 int atm_init_aal5(struct atm_vcc *vcc)  in atm_init_aal5()
 
 | 
| D | lec_arpc.h | 19 	struct atm_vcc *vcc;		/* Vcc this entry is attached */20 	struct atm_vcc *recv_vcc;	/* Vcc we receive data from */
 22 	void (*old_push) (struct atm_vcc *vcc, struct sk_buff *skb);
 25 	void (*old_recv_push) (struct atm_vcc *vcc, struct sk_buff *skb);
 
 | 
| D | pppoatm.c | 57 	struct atm_vcc	*atmvcc;	/* VCC descriptor */58 	void (*old_push)(struct atm_vcc *, struct sk_buff *);
 59 	void (*old_pop)(struct atm_vcc *, struct sk_buff *);
 60 	void (*old_release_cb)(struct atm_vcc *);
 89 static inline struct pppoatm_vcc *atmvcc_to_pvcc(const struct atm_vcc *atmvcc)  in atmvcc_to_pvcc()
 109 static void pppoatm_release_cb(struct atm_vcc *atmvcc)  in pppoatm_release_cb()
 132 static void pppoatm_pop(struct atm_vcc *atmvcc, struct sk_buff *skb)  in pppoatm_pop()
 165 static void pppoatm_unassign_vcc(struct atm_vcc *atmvcc)  in pppoatm_unassign_vcc()
 179 static void pppoatm_push(struct atm_vcc *atmvcc, struct sk_buff *skb)  in pppoatm_push()
 290 	struct atm_vcc *vcc;  in pppoatm_send()
 [all …]
 
 | 
| D | protocols.h | 10 int atm_init_aal0(struct atm_vcc *vcc);	/* "raw" AAL0 */11 int atm_init_aal34(struct atm_vcc *vcc);/* "raw" AAL3/4 transport */
 12 int atm_init_aal5(struct atm_vcc *vcc);	/* "raw" AAL5 transport */
 
 | 
| D | br2684.c | 67 	struct atm_vcc *atmvcc;70 	void (*old_push)(struct atm_vcc *vcc, struct sk_buff *skb);
 71 	void (*old_pop)(struct atm_vcc *vcc, struct sk_buff *skb);
 72 	void (*old_release_cb)(struct atm_vcc *vcc);
 113 static inline struct br2684_vcc *BR2684_VCC(const struct atm_vcc *atmvcc)  in BR2684_VCC()
 154 	struct atm_vcc *atm_vcc;  in atm_dev_event()  local
 164 			atm_vcc = brvcc->atmvcc;  in atm_dev_event()
 165 			if (atm_vcc && brvcc->atmvcc->dev == atm_dev) {  in atm_dev_event()
 167 				if (atm_vcc->dev->signal == ATM_PHY_SIG_LOST)  in atm_dev_event()
 185 static void br2684_pop(struct atm_vcc *vcc, struct sk_buff *skb)  in br2684_pop()
 [all …]
 
 | 
| D | common.c | 45 	struct atm_vcc *vcc = atm_sk(sk);  in __vcc_insert_socket()66 static bool vcc_tx_ready(struct atm_vcc *vcc, unsigned int size)  in vcc_tx_ready()
 102 	struct atm_vcc *vcc = atm_sk(sk);  in vcc_writable()
 127 	struct atm_vcc *vcc = atm_sk(sk);  in vcc_release_cb()
 136 	.obj_size = sizeof(struct atm_vcc),
 143 	struct atm_vcc *vcc;  in vcc_create()
 175 	struct atm_vcc *vcc = atm_sk(sk);  in vcc_destroy_socket()
 213 void vcc_release_async(struct atm_vcc *vcc, int reply)  in vcc_release_async()
 225 void vcc_process_recv_queue(struct atm_vcc *vcc)  in vcc_process_recv_queue()
 271 		struct atm_vcc *vcc;  in atm_dev_release_vccs()
 [all …]
 
 | 
| D | mpoa_caches.h | 28 	struct   atm_vcc *shortcut;41 	in_cache_entry *(*get_by_vcc)(struct atm_vcc *vcc,
 59 	struct atm_vcc       *shortcut;
 71 	eg_cache_entry *(*get_by_vcc)(struct atm_vcc *vcc, struct mpoa_client *client);
 
 | 
| D | lec.h | 93 	struct atm_vcc *mcast_vcc;		/* Default Multicast Send VCC */94 	struct atm_vcc *lecd;
 149 	void (*old_pop) (struct atm_vcc *vcc, struct sk_buff *skb);
 
 | 
| D | svc.c | 46 static void svc_disconnect(struct atm_vcc *vcc)  in svc_disconnect()78 	struct atm_vcc *vcc;  in svc_release()
 101 	struct atm_vcc *vcc;  in svc_bind()
 157 	struct atm_vcc *vcc = ATM_SD(sock);  in svc_connect()
 286 	struct atm_vcc *vcc = ATM_SD(sock);  in svc_listen()
 328 	struct atm_vcc *old_vcc = ATM_SD(sock);  in svc_accept()
 329 	struct atm_vcc *new_vcc;  in svc_accept()
 432 int svc_change_qos(struct atm_vcc *vcc, struct atm_qos *qos)  in svc_change_qos()
 457 	struct atm_vcc *vcc = ATM_SD(sock);  in svc_setsockopt()
 531 	struct atm_vcc *vcc = ATM_SD(sock);  in svc_addparty()
 [all …]
 
 | 
| D | proc.c | 142 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc)  in pvc_info()171 static const char *vcc_state(struct atm_vcc *vcc)  in vcc_state()
 178 static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc)  in vcc_info()
 205 static void svc_info(struct seq_file *seq, struct atm_vcc *vcc)  in svc_info()
 257 		struct atm_vcc *vcc = atm_sk(state->sk);  in pvc_seq_show()
 279 		struct atm_vcc *vcc = atm_sk(state->sk);  in vcc_seq_show()
 302 		struct atm_vcc *vcc = atm_sk(state->sk);  in svc_seq_show()
 
 | 
| D | clip.c | 48 static struct atm_vcc *atmarpd;167 	struct atm_vcc *vcc;  in clip_arp_rcv()
 190 static void clip_push(struct atm_vcc *vcc, struct sk_buff *skb)  in clip_push()
 245 static void clip_pop(struct atm_vcc *vcc, struct sk_buff *skb)  in clip_pop()
 319 static int clip_encap(struct atm_vcc *vcc, int mode)  in clip_encap()
 335 	struct atm_vcc *vcc;  in clip_start_xmit()
 415 static int clip_mkip(struct atm_vcc *vcc, int timeout)  in clip_mkip()
 444 static int clip_setentry(struct atm_vcc *vcc, __be32 ip)  in clip_setentry()
 607 static void atmarpd_close(struct atm_vcc *vcc)  in atmarpd_close()
 633 static int atm_init_atmarp(struct atm_vcc *vcc)  in atm_init_atmarp()
 [all …]
 
 | 
| D | common.h | 27 void vcc_process_recv_queue(struct atm_vcc *vcc);52 int svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos);
 
 | 
| D | lec.c | 82 				  struct atm_vcc *vcc, struct sk_buff *skb);85 static struct atm_vcc *lec_arp_resolve(struct lec_priv *priv,
 94 static int lec_mcast_make(struct lec_priv *priv, struct atm_vcc *vcc);
 100 			  struct atm_vcc *vcc,
 101 			  void (*old_push)(struct atm_vcc *vcc,
 103 static void lec_vcc_close(struct lec_priv *priv, struct atm_vcc *vcc);
 181 lec_send(struct atm_vcc *vcc, struct sk_buff *skb)  in lec_send()
 210 	struct atm_vcc *vcc;  in lec_start_xmit()
 341 static int lec_atm_send(struct atm_vcc *vcc, struct sk_buff *skb)  in lec_atm_send()
 469 static void lec_atm_close(struct atm_vcc *vcc)  in lec_atm_close()
 [all …]
 
 | 
| /Linux-v5.4/drivers/atm/ | 
| D | firestream.c | 769 	struct atm_vcc *atm_vcc;  in process_incoming()  local790 			atm_vcc = dev->atm_vccs[channo];  in process_incoming()
 792 			atm_vcc = NULL;  in process_incoming()
 799 			if (atm_vcc) {  in process_incoming()
 807 				ATM_SKB(skb)->vcc = atm_vcc;  in process_incoming()
 808 				atomic_inc(&atm_vcc->stats->rx);  in process_incoming()
 811 				atm_vcc->push (atm_vcc, skb);  in process_incoming()
 828 			if (atm_vcc)  in process_incoming()
 829 				atomic_inc(&atm_vcc->stats->rx_drop);  in process_incoming()
 833 			if (atm_vcc)  in process_incoming()
 [all …]
 
 | 
| D | atmtcp.c | 18 extern int atm_init_aal5(struct atm_vcc *vcc); /* "raw" AAL5 transport */25 	struct atm_vcc *vcc;	/* control VCC; NULL if detached */
 43 static int atmtcp_send_control(struct atm_vcc *vcc,int type,  in atmtcp_send_control()
 47 	struct atm_vcc *out_vcc;  in atmtcp_send_control()
 69 	*(struct atm_vcc **) &new_msg->vcc = vcc;  in atmtcp_send_control()
 91 	struct atm_vcc *vcc = *(struct atm_vcc **) &msg->vcc;  in atmtcp_recv_control()
 120 static int atmtcp_v_open(struct atm_vcc *vcc)  in atmtcp_v_open()
 144 static void atmtcp_v_close(struct atm_vcc *vcc)  in atmtcp_v_close()
 160 	struct atm_vcc *vcc;  in atmtcp_v_ioctl()
 191 static int atmtcp_v_send(struct atm_vcc *vcc,struct sk_buff *skb)  in atmtcp_v_send()
 [all …]
 
 | 
| D | eni.h | 54 	int (*rx)(struct atm_vcc *vcc);	/* RX function, NULL if none */64 	struct atm_vcc *next;		/* next pending RX */
 98 	struct atm_vcc *fast,*last_fast;/* queues of VCCs with pending PDUs */
 99 	struct atm_vcc *slow,*last_slow;
 100 	struct atm_vcc **rx_map;	/* for fast lookups */
 
 | 
| D | horizon.c | 1005 	  struct atm_vcc * vcc = ATM_SKB(skb)->vcc;  in rx_schedule()1277     struct atm_vcc * atm_vcc;  in rx_data_av_handler()  local
 1281     atm_vcc = dev->rxer[rx_channel];  in rx_data_av_handler()
 1285     if (atm_vcc) {  in rx_data_av_handler()
 1287       if (atm_vcc->qos.rxtp.traffic_class != ATM_NONE) {  in rx_data_av_handler()
 1289 	if (rx_len <= atm_vcc->qos.rxtp.max_sdu) {  in rx_data_av_handler()
 1291 	  struct sk_buff * skb = atm_alloc_charge (atm_vcc, rx_len, GFP_ATOMIC);  in rx_data_av_handler()
 1300 	    ATM_SKB(skb)->vcc = atm_vcc;  in rx_data_av_handler()
 1548 static int hrz_send (struct atm_vcc * atm_vcc, struct sk_buff * skb) {  in hrz_send()  argument
 1551   hrz_dev * dev = HRZ_DEV(atm_vcc->dev);  in hrz_send()
 [all …]
 
 | 
| D | ambassador.c | 467     struct atm_vcc * atm_vcc = dev->rxer[vc];  in rx_complete()  local470     if (atm_vcc) {  in rx_complete()
 472       if (rx_len <= atm_vcc->qos.rxtp.max_sdu) {  in rx_complete()
 474 	if (atm_charge (atm_vcc, skb->truesize)) {  in rx_complete()
 477 	  ATM_SKB(skb)->vcc = atm_vcc;  in rx_complete()
 483 	  atomic_inc(&atm_vcc->stats->rx);  in rx_complete()
 486 	  atm_vcc->push (atm_vcc, skb);  in rx_complete()
 498 	atomic_inc(&atm_vcc->stats->rx_drop);  in rx_complete()
 998 static int amb_open (struct atm_vcc * atm_vcc)  in amb_open()  argument
 1009   amb_dev * dev = AMB_DEV(atm_vcc->dev);  in amb_open()
 [all …]
 
 | 
| D | adummy.c | 90 adummy_open(struct atm_vcc *vcc)  in adummy_open()105 adummy_close(struct atm_vcc *vcc)  in adummy_close()
 112 adummy_send(struct atm_vcc *vcc, struct sk_buff *skb)  in adummy_send()
 
 | 
| D | zatm.h | 71 	struct atm_vcc **tx_map;	/* TX VCCs */72 	struct atm_vcc **rx_map;	/* RX VCCs */
 
 | 
| D | eni.c | 310 #define ENI_VCC_NOS ((struct atm_vcc *) 1)313 static void rx_ident_err(struct atm_vcc *vcc)  in rx_ident_err()
 344 static int do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb,  in do_rx_dma()
 494 static void discard(struct atm_vcc *vcc,unsigned long size)  in discard()
 512 static int rx_aal0(struct atm_vcc *vcc)  in rx_aal0()
 549 static int rx_aal5(struct atm_vcc *vcc)  in rx_aal5()
 618 static inline int rx_vcc(struct atm_vcc *vcc)  in rx_vcc()
 660 	struct atm_vcc *curr;  in poll_rx()
 685 	struct atm_vcc *vcc;  in get_service()
 730 	struct atm_vcc *vcc;  in dequeue_rx()
 [all …]
 
 | 
| /Linux-v5.4/include/net/ | 
| D | atmclip.h | 23 	struct atm_vcc	*vcc;		/* VCC descriptor */30 	void (*old_push)(struct atm_vcc *vcc,struct sk_buff *skb);
 32 	void (*old_pop)(struct atm_vcc *vcc,struct sk_buff *skb);
 
 |