Home
last modified time | relevance | path

Searched refs:inet_bhashfn (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/net/ipv4/
Dinet_hashtables.c106 const int bhash = inet_bhashfn(sock_net(sk), inet_sk(sk)->inet_num, in __inet_put_port()
133 const int bhash = inet_bhashfn(sock_net(sk), port, in __inet_inherit_port()
535 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
594 head = &hinfo->bhash[inet_bhashfn(net, snum, hinfo->bhash_size)]; in __inet_hash_connect()
Dinet_timewait_sock.c55 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), tw->tw_num, in inet_twsk_kill()
113 bhead = &hashinfo->bhash[inet_bhashfn(twsk_net(tw), inet->inet_num, in __inet_twsk_hashdance()
Dinet_connection_sock.c125 head = &hashinfo->bhash[inet_bhashfn(net, rover, in inet_csk_get_port()
179 head = &hashinfo->bhash[inet_bhashfn(net, snum, in inet_csk_get_port()
/linux-4.4.14/include/net/
Dinet_hashtables.h181 static inline u32 inet_bhashfn(const struct net *net, const __u16 lport, in inet_bhashfn() function