Lines Matching refs:net
92 int sctp_copy_local_addr_list(struct net *, struct sctp_bind_addr *,
96 void sctp_addr_wq_mgmt(struct net *, struct sctp_sockaddr_entry *, int);
117 int sctp_primitive_ASSOCIATE(struct net *, struct sctp_association *, void *arg);
118 int sctp_primitive_SHUTDOWN(struct net *, struct sctp_association *, void *arg);
119 int sctp_primitive_ABORT(struct net *, struct sctp_association *, void *arg);
120 int sctp_primitive_SEND(struct net *, struct sctp_association *, void *arg);
121 int sctp_primitive_REQUESTHEARTBEAT(struct net *, struct sctp_association *, void *arg);
122 int sctp_primitive_ASCONF(struct net *, struct sctp_association *, void *arg);
133 struct sock *sctp_err_lookup(struct net *net, int family, struct sk_buff *,
150 int sctp_snmp_proc_init(struct net *net);
151 void sctp_snmp_proc_exit(struct net *net);
152 int sctp_eps_proc_init(struct net *net);
153 void sctp_eps_proc_exit(struct net *net);
154 int sctp_assocs_proc_init(struct net *net);
155 void sctp_assocs_proc_exit(struct net *net);
156 int sctp_remaddr_proc_init(struct net *net);
157 void sctp_remaddr_proc_exit(struct net *net);
178 #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field) argument
179 #define SCTP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->sctp.sctp_statistics, field) argument
180 #define SCTP_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->sctp.sctp_statistics, field) argument
181 #define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field) argument
271 void sctp_dbg_objcnt_init(struct net *);
272 void sctp_dbg_objcnt_exit(struct net *);
279 static inline void sctp_dbg_objcnt_init(struct net *net) { return; } in sctp_dbg_objcnt_init() argument
280 static inline void sctp_dbg_objcnt_exit(struct net *net) { return; } in sctp_dbg_objcnt_exit() argument
287 int sctp_sysctl_net_register(struct net *net);
288 void sctp_sysctl_net_unregister(struct net *net);
292 static inline int sctp_sysctl_net_register(struct net *net) { return 0; } in sctp_sysctl_net_register() argument
293 static inline void sctp_sysctl_net_unregister(struct net *net) { return; } in sctp_sysctl_net_unregister() argument
511 static inline int sctp_phashfn(struct net *net, __u16 lport) in sctp_phashfn() argument
513 return (net_hash_mix(net) + lport) & (sctp_port_hashsize - 1); in sctp_phashfn()
517 static inline int sctp_ep_hashfn(struct net *net, __u16 lport) in sctp_ep_hashfn() argument
519 return (net_hash_mix(net) + lport) & (sctp_ep_hashsize - 1); in sctp_ep_hashfn()
523 static inline int sctp_assoc_hashfn(struct net *net, __u16 lport, __u16 rport) in sctp_assoc_hashfn() argument
525 int h = (lport << 16) + rport + net_hash_mix(net); in sctp_assoc_hashfn()