Lines Matching refs:l3mdev
274 static bool inet_bhash2_addr_any_conflict(const struct sock *sk, int port, int l3mdev, in inet_bhash2_addr_any_conflict() argument
296 if (!inet_bind2_bucket_match_addr_any(tb2, net, port, l3mdev, sk)) in inet_bhash2_addr_any_conflict()
321 int i, low, high, attempt_half, port, l3mdev; in inet_csk_find_open_port() local
329 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_find_open_port()
366 if (inet_bhash2_addr_any_conflict(sk, port, l3mdev, relax, false)) in inet_csk_find_open_port()
372 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_find_open_port()
374 if (inet_bind_bucket_match(tb, net, port, l3mdev)) { in inet_csk_find_open_port()
507 int ret = -EADDRINUSE, port = snum, l3mdev; in inet_csk_get_port() local
514 l3mdev = inet_sk_bound_l3mdev(sk); in inet_csk_get_port()
531 if (inet_bind_bucket_match(tb, net, port, l3mdev)) in inet_csk_get_port()
537 head, port, l3mdev); in inet_csk_get_port()
552 if (inet_bhash2_addr_any_conflict(sk, port, l3mdev, true, true)) in inet_csk_get_port()
559 tb2 = inet_bind2_bucket_find(head2, net, port, l3mdev, sk); in inet_csk_get_port()