Lines Matching refs:l3mdev
289 static bool inet_bhash2_addr_any_conflict(const struct sock *sk, int port, int l3mdev, in inet_bhash2_addr_any_conflict() argument
311 if (!inet_bind2_bucket_match_addr_any(tb2, net, port, l3mdev, sk)) in inet_bhash2_addr_any_conflict()
336 int i, low, high, attempt_half, port, l3mdev; in inet_csk_find_open_port() local
344 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_find_open_port()
381 if (inet_bhash2_addr_any_conflict(sk, port, l3mdev, relax, false)) in inet_csk_find_open_port()
387 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_find_open_port()
389 if (inet_bind_bucket_match(tb, net, port, l3mdev)) { in inet_csk_find_open_port()
521 int ret = -EADDRINUSE, port = snum, l3mdev; in inet_csk_get_port() local
528 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_get_port()
545 if (inet_bind_bucket_match(tb, net, port, l3mdev)) in inet_csk_get_port()
551 head, port, l3mdev); in inet_csk_get_port()
566 if (inet_bhash2_addr_any_conflict(sk, port, l3mdev, true, true)) in inet_csk_get_port()
573 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_get_port()