Home
last modified time | relevance | path

Searched refs:atm_vcc (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v4.19/include/linux/
Datmdev.h92 struct atm_vcc { struct
104 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-v4.19/net/atm/
Dsignaling.h15 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);
Dsignaling.c23 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 …]
Draw.c23 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()
Dlec_arpc.h19 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);
Dpppoatm.c60 struct atm_vcc *atmvcc; /* VCC descriptor */
61 void (*old_push)(struct atm_vcc *, struct sk_buff *);
62 void (*old_pop)(struct atm_vcc *, struct sk_buff *);
63 void (*old_release_cb)(struct atm_vcc *);
92 static inline struct pppoatm_vcc *atmvcc_to_pvcc(const struct atm_vcc *atmvcc) in atmvcc_to_pvcc()
112 static void pppoatm_release_cb(struct atm_vcc *atmvcc) in pppoatm_release_cb()
135 static void pppoatm_pop(struct atm_vcc *atmvcc, struct sk_buff *skb) in pppoatm_pop()
168 static void pppoatm_unassign_vcc(struct atm_vcc *atmvcc) in pppoatm_unassign_vcc()
182 static void pppoatm_push(struct atm_vcc *atmvcc, struct sk_buff *skb) in pppoatm_push()
295 struct atm_vcc *vcc; in pppoatm_send()
[all …]
Dprotocols.h10 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 */
Dbr2684.c66 struct atm_vcc *atmvcc;
69 void (*old_push)(struct atm_vcc *vcc, struct sk_buff *skb);
70 void (*old_pop)(struct atm_vcc *vcc, struct sk_buff *skb);
71 void (*old_release_cb)(struct atm_vcc *vcc);
112 static inline struct br2684_vcc *BR2684_VCC(const struct atm_vcc *atmvcc) in BR2684_VCC()
153 struct atm_vcc *atm_vcc; in atm_dev_event() local
163 atm_vcc = brvcc->atmvcc; in atm_dev_event()
164 if (atm_vcc && brvcc->atmvcc->dev == atm_dev) { in atm_dev_event()
166 if (atm_vcc->dev->signal == ATM_PHY_SIG_LOST) in atm_dev_event()
184 static void br2684_pop(struct atm_vcc *vcc, struct sk_buff *skb) in br2684_pop()
[all …]
Dcommon.c44 struct atm_vcc *vcc = atm_sk(sk); in __vcc_insert_socket()
65 static bool vcc_tx_ready(struct atm_vcc *vcc, unsigned int size) in vcc_tx_ready()
101 struct atm_vcc *vcc = atm_sk(sk); in vcc_writable()
126 struct atm_vcc *vcc = atm_sk(sk); in vcc_release_cb()
135 .obj_size = sizeof(struct atm_vcc),
142 struct atm_vcc *vcc; in vcc_create()
174 struct atm_vcc *vcc = atm_sk(sk); in vcc_destroy_socket()
212 void vcc_release_async(struct atm_vcc *vcc, int reply) in vcc_release_async()
224 void vcc_process_recv_queue(struct atm_vcc *vcc) in vcc_process_recv_queue()
270 struct atm_vcc *vcc; in atm_dev_release_vccs()
[all …]
Dmpoa_caches.h28 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);
Dlec.h93 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);
Dsvc.c46 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 …]
Dproc.c141 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) in pvc_info()
170 static const char *vcc_state(struct atm_vcc *vcc) in vcc_state()
177 static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc) in vcc_info()
204 static void svc_info(struct seq_file *seq, struct atm_vcc *vcc) in svc_info()
256 struct atm_vcc *vcc = atm_sk(state->sk); in pvc_seq_show()
278 struct atm_vcc *vcc = atm_sk(state->sk); in vcc_seq_show()
301 struct atm_vcc *vcc = atm_sk(state->sk); in svc_seq_show()
Dcommon.h27 void vcc_process_recv_queue(struct atm_vcc *vcc);
52 int svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos);
Dclip.c47 static struct atm_vcc *atmarpd;
166 struct atm_vcc *vcc; in clip_arp_rcv()
189 static void clip_push(struct atm_vcc *vcc, struct sk_buff *skb) in clip_push()
244 static void clip_pop(struct atm_vcc *vcc, struct sk_buff *skb) in clip_pop()
318 static int clip_encap(struct atm_vcc *vcc, int mode) in clip_encap()
334 struct atm_vcc *vcc; in clip_start_xmit()
414 static int clip_mkip(struct atm_vcc *vcc, int timeout) in clip_mkip()
443 static int clip_setentry(struct atm_vcc *vcc, __be32 ip) in clip_setentry()
606 static void atmarpd_close(struct atm_vcc *vcc) in atmarpd_close()
632 static int atm_init_atmarp(struct atm_vcc *vcc) in atm_init_atmarp()
[all …]
Dlec.c81 struct atm_vcc *vcc, struct sk_buff *skb);
84 static struct atm_vcc *lec_arp_resolve(struct lec_priv *priv,
93 static int lec_mcast_make(struct lec_priv *priv, struct atm_vcc *vcc);
99 struct atm_vcc *vcc,
100 void (*old_push)(struct atm_vcc *vcc,
102 static void lec_vcc_close(struct lec_priv *priv, struct atm_vcc *vcc);
180 lec_send(struct atm_vcc *vcc, struct sk_buff *skb) in lec_send()
209 struct atm_vcc *vcc; in lec_start_xmit()
340 static int lec_atm_send(struct atm_vcc *vcc, struct sk_buff *skb) in lec_atm_send()
468 static void lec_atm_close(struct atm_vcc *vcc) in lec_atm_close()
[all …]
/Linux-v4.19/drivers/atm/
Dfirestream.c784 struct atm_vcc *atm_vcc; in process_incoming() local
805 atm_vcc = dev->atm_vccs[channo]; in process_incoming()
807 atm_vcc = NULL; in process_incoming()
814 if (atm_vcc) { in process_incoming()
822 ATM_SKB(skb)->vcc = atm_vcc; in process_incoming()
823 atomic_inc(&atm_vcc->stats->rx); in process_incoming()
826 atm_vcc->push (atm_vcc, skb); in process_incoming()
843 if (atm_vcc) in process_incoming()
844 atomic_inc(&atm_vcc->stats->rx_drop); in process_incoming()
848 if (atm_vcc) in process_incoming()
[all …]
Datmtcp.c17 extern int atm_init_aal5(struct atm_vcc *vcc); /* "raw" AAL5 transport */
24 struct atm_vcc *vcc; /* control VCC; NULL if detached */
42 static int atmtcp_send_control(struct atm_vcc *vcc,int type, in atmtcp_send_control()
46 struct atm_vcc *out_vcc; in atmtcp_send_control()
68 *(struct atm_vcc **) &new_msg->vcc = vcc; in atmtcp_send_control()
90 struct atm_vcc *vcc = *(struct atm_vcc **) &msg->vcc; in atmtcp_recv_control()
119 static int atmtcp_v_open(struct atm_vcc *vcc) in atmtcp_v_open()
143 static void atmtcp_v_close(struct atm_vcc *vcc) in atmtcp_v_close()
159 struct atm_vcc *vcc; in atmtcp_v_ioctl()
190 static int atmtcp_v_send(struct atm_vcc *vcc,struct sk_buff *skb) in atmtcp_v_send()
[all …]
Deni.h54 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 */
Dhorizon.c1020 struct atm_vcc * vcc = ATM_SKB(skb)->vcc; in rx_schedule()
1292 struct atm_vcc * atm_vcc; in rx_data_av_handler() local
1296 atm_vcc = dev->rxer[rx_channel]; in rx_data_av_handler()
1300 if (atm_vcc) { in rx_data_av_handler()
1302 if (atm_vcc->qos.rxtp.traffic_class != ATM_NONE) { in rx_data_av_handler()
1304 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_data_av_handler()
1306 struct sk_buff * skb = atm_alloc_charge (atm_vcc, rx_len, GFP_ATOMIC); in rx_data_av_handler()
1315 ATM_SKB(skb)->vcc = atm_vcc; in rx_data_av_handler()
1563 static int hrz_send (struct atm_vcc * atm_vcc, struct sk_buff * skb) { in hrz_send() argument
1566 hrz_dev * dev = HRZ_DEV(atm_vcc->dev); in hrz_send()
[all …]
Dambassador.c482 struct atm_vcc * atm_vcc = dev->rxer[vc]; in rx_complete() local
485 if (atm_vcc) { in rx_complete()
487 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_complete()
489 if (atm_charge (atm_vcc, skb->truesize)) { in rx_complete()
492 ATM_SKB(skb)->vcc = atm_vcc; in rx_complete()
498 atomic_inc(&atm_vcc->stats->rx); in rx_complete()
501 atm_vcc->push (atm_vcc, skb); in rx_complete()
513 atomic_inc(&atm_vcc->stats->rx_drop); in rx_complete()
1013 static int amb_open (struct atm_vcc * atm_vcc) in amb_open() argument
1024 amb_dev * dev = AMB_DEV(atm_vcc->dev); in amb_open()
[all …]
Dadummy.c89 adummy_open(struct atm_vcc *vcc) in adummy_open()
104 adummy_close(struct atm_vcc *vcc) in adummy_close()
111 adummy_send(struct atm_vcc *vcc, struct sk_buff *skb) in adummy_send()
Dzatm.h71 struct atm_vcc **tx_map; /* TX VCCs */
72 struct atm_vcc **rx_map; /* RX VCCs */
Deni.c308 #define ENI_VCC_NOS ((struct atm_vcc *) 1)
311 static void rx_ident_err(struct atm_vcc *vcc) in rx_ident_err()
342 static int do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb, in do_rx_dma()
492 static void discard(struct atm_vcc *vcc,unsigned long size) in discard()
510 static int rx_aal0(struct atm_vcc *vcc) in rx_aal0()
547 static int rx_aal5(struct atm_vcc *vcc) in rx_aal5()
616 static inline int rx_vcc(struct atm_vcc *vcc) in rx_vcc()
658 struct atm_vcc *curr; in poll_rx()
683 struct atm_vcc *vcc; in get_service()
728 struct atm_vcc *vcc; in dequeue_rx()
[all …]
/Linux-v4.19/include/net/
Datmclip.h23 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);

12