mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
sctp: Push struct net down into sctp_in_scope
struct net will be needed shortly when the tunables are made per network namespace. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
89bf3450cb
commit
e7ff4a7037
4 changed files with 6 additions and 5 deletions
|
@ -1248,7 +1248,7 @@ int sctp_raw_to_bind_addrs(struct sctp_bind_addr *bp, __u8 *raw, int len,
|
|||
__u16 port, gfp_t gfp);
|
||||
|
||||
sctp_scope_t sctp_scope(const union sctp_addr *);
|
||||
int sctp_in_scope(const union sctp_addr *addr, const sctp_scope_t scope);
|
||||
int sctp_in_scope(struct net *net, const union sctp_addr *addr, const sctp_scope_t scope);
|
||||
int sctp_is_any(struct sock *sk, const union sctp_addr *addr);
|
||||
int sctp_addr_is_valid(const union sctp_addr *addr);
|
||||
int sctp_is_ep_boundall(struct sock *sk);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue