Lines Matching refs:l3mdev
287 static bool inet_bhash2_addr_any_conflict(const struct sock *sk, int port, int l3mdev, in inet_bhash2_addr_any_conflict() argument
309 if (!inet_bind2_bucket_match_addr_any(tb2, net, port, l3mdev, sk)) in inet_bhash2_addr_any_conflict()
334 int i, low, high, attempt_half, port, l3mdev; in inet_csk_find_open_port() local
342 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_find_open_port()
379 if (inet_bhash2_addr_any_conflict(sk, port, l3mdev, relax, false)) in inet_csk_find_open_port()
385 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_find_open_port()
387 if (inet_bind_bucket_match(tb, net, port, l3mdev)) { in inet_csk_find_open_port()
516 int ret = -EADDRINUSE, port = snum, l3mdev; in inet_csk_get_port() local
523 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_get_port()
540 if (inet_bind_bucket_match(tb, net, port, l3mdev)) in inet_csk_get_port()
546 head, port, l3mdev); in inet_csk_get_port()
561 if (inet_bhash2_addr_any_conflict(sk, port, l3mdev, true, true)) in inet_csk_get_port()
568 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_get_port()