/linux/include/linux/ |
H A D | atmdev.h | 92 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 …]
|
H A D | atm_tcp.h | 12 struct atm_vcc; 16 int (*attach)(struct atm_vcc *vcc,int itf);
|
/linux/net/atm/ |
H A 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 …]
|
H A 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);
|
H A 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() 62 int atm_init_aal0(struct atm_vcc *vcc) in atm_init_aal0() 71 int atm_init_aal34(struct atm_vcc *vcc) in atm_init_aal34() 83 int atm_init_aal5(struct atm_vcc *vcc) in atm_init_aal5()
|
H A 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() 111 static void pppoatm_release_cb(struct atm_vcc *atmvcc) in pppoatm_release_cb() 134 static void pppoatm_pop(struct atm_vcc *atmvcc, struct sk_buff *skb) in pppoatm_pop() 167 static void pppoatm_unassign_vcc(struct atm_vcc *atmvcc) in pppoatm_unassign_vcc() 181 static void pppoatm_push(struct atm_vcc *atmvcc, struct sk_buff *skb) in pppoatm_push() 292 struct atm_vcc *vcc; in pppoatm_send() [all …]
|
H A 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);
|
H A 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 …]
|
H A 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 …]
|
H A 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 */
|
H A 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);
|
H A 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);
|
H A D | svc.c | 51 static void svc_disconnect(struct atm_vcc *vcc) in svc_disconnect() 83 struct atm_vcc *vcc; in svc_release() 106 struct atm_vcc *vcc; in svc_bind() 162 struct atm_vcc *vcc = ATM_SD(sock); in svc_connect() 291 struct atm_vcc *vcc = ATM_SD(sock); in svc_listen() 333 struct atm_vcc *old_vcc = ATM_SD(sock); in svc_accept() 334 struct atm_vcc *new_vcc; in svc_accept() 437 int svc_change_qos(struct atm_vcc *vcc, struct atm_qos *qos) in svc_change_qos() 462 struct atm_vcc *vcc = ATM_SD(sock); in svc_setsockopt() 536 struct atm_vcc *vcc = ATM_SD(sock); in svc_addparty() [all …]
|
H A D | proc.c | 141 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()
|
H A 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() 467 static void lec_atm_close(struct atm_vcc *vcc) in lec_atm_close() [all …]
|
H A 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 …]
|
H A 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);
|
H A D | atm_misc.c | 15 int atm_charge(struct atm_vcc *vcc, int truesize) in atm_charge() 26 struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc, int pdu_size, in atm_alloc_charge()
|
H A D | mpc.c | 87 static void purge_egress_shortcut(struct atm_vcc *vcc, eg_cache_entry *entry); 90 static void mpoad_close(struct atm_vcc *vcc); 91 static int msg_from_mpoad(struct atm_vcc *vcc, struct sk_buff *skb); 93 static void mpc_push(struct atm_vcc *vcc, struct sk_buff *skb); 142 static struct mpoa_client *find_mpc_by_vcc(struct atm_vcc *vcc) in find_mpc_by_vcc() 605 static int atm_mpoa_vcc_attach(struct atm_vcc *vcc, void __user *arg) in atm_mpoa_vcc_attach() 654 static void mpc_vcc_close(struct atm_vcc *vcc, struct net_device *dev) in mpc_vcc_close() 685 static void mpc_push(struct atm_vcc *vcc, struct sk_buff *skb) in mpc_push() 795 static int atm_mpoa_mpoad_attach(struct atm_vcc *vcc, int arg) in atm_mpoa_mpoad_attach() 869 static void mpoad_close(struct atm_vcc *vcc) in mpoad_close() [all …]
|
/linux/drivers/atm/ |
H A 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 …]
|
H A 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 */
|
H A 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()
|
H A D | eni.c | 304 #define ENI_VCC_NOS ((struct atm_vcc *) 1) 307 static void rx_ident_err(struct atm_vcc *vcc) in rx_ident_err() 338 static int do_rx_dma(struct atm_vcc *vcc,struct sk_buff *skb, in do_rx_dma() 488 static void discard(struct atm_vcc *vcc,unsigned long size) in discard() 506 static int rx_aal0(struct atm_vcc *vcc) in rx_aal0() 543 static int rx_aal5(struct atm_vcc *vcc) in rx_aal5() 612 static inline int rx_vcc(struct atm_vcc *vcc) in rx_vcc() 654 struct atm_vcc *curr; in poll_rx() 679 struct atm_vcc *vcc; in get_service() 724 struct atm_vcc *vcc; in dequeue_rx() [all …]
|
H A D | solos-pci.c | 92 struct atm_vcc *vcc; 163 struct atm_vcc *vcc); 166 static struct atm_vcc* find_vcc(struct atm_dev *dev, short vpi, int vci); 173 static inline void solos_pop(struct atm_vcc *vcc, struct sk_buff *skb) in solos_pop() 775 struct atm_vcc *vcc; in solos_bh() 897 static struct atm_vcc *find_vcc(struct atm_dev *dev, short vpi, int vci) in find_vcc() 900 struct atm_vcc *vcc = NULL; in find_vcc() 918 static int popen(struct atm_vcc *vcc) in popen() 951 static void pclose(struct atm_vcc *vcc) in pclose() 1029 struct atm_vcc *vcc) in fpga_queue() [all …]
|
/linux/include/net/ |
H A 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);
|