Lines Matching refs:l3mdev
245 static bool inet_bhash2_addr_any_conflict(const struct sock *sk, int port, int l3mdev, in inet_bhash2_addr_any_conflict() argument
266 if (inet_bind2_bucket_match_addr_any(tb2, net, port, l3mdev, sk)) in inet_bhash2_addr_any_conflict()
289 int i, low, high, attempt_half, port, l3mdev; in inet_csk_find_open_port() local
297 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_find_open_port()
334 if (inet_bhash2_addr_any_conflict(sk, port, l3mdev, relax, false)) in inet_csk_find_open_port()
340 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_find_open_port()
342 if (inet_bind_bucket_match(tb, net, port, l3mdev)) { in inet_csk_find_open_port()
478 int ret = 1, port = snum, l3mdev; in inet_csk_get_port() local
481 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_get_port()
498 if (inet_bind_bucket_match(tb, net, port, l3mdev)) in inet_csk_get_port()
504 head, port, l3mdev); in inet_csk_get_port()
519 if (inet_bhash2_addr_any_conflict(sk, port, l3mdev, true, true)) in inet_csk_get_port()
526 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_get_port()
531 net, head2, port, l3mdev, sk); in inet_csk_get_port()