Lines Matching refs:laddr
455 const struct llc_addr *laddr, in llc_estab_match() argument
460 return llc->laddr.lsap == laddr->lsap && in llc_estab_match()
462 ether_addr_equal(llc->laddr.mac, laddr->mac) && in llc_estab_match()
479 struct llc_addr *laddr) in __llc_lookup_established() argument
483 int slot = llc_sk_laddr_hashfn(sap, laddr); in __llc_lookup_established()
489 if (llc_estab_match(sap, daddr, laddr, rc)) { in __llc_lookup_established()
494 !llc_estab_match(sap, daddr, laddr, rc))) { in __llc_lookup_established()
516 struct llc_addr *laddr) in llc_lookup_established() argument
521 sk = __llc_lookup_established(sap, daddr, laddr); in llc_lookup_established()
527 const struct llc_addr *laddr, in llc_listener_match() argument
533 llc->laddr.lsap == laddr->lsap && in llc_listener_match()
534 ether_addr_equal(llc->laddr.mac, laddr->mac); in llc_listener_match()
538 struct llc_addr *laddr) in __llc_lookup_listener() argument
542 int slot = llc_sk_laddr_hashfn(sap, laddr); in __llc_lookup_listener()
548 if (llc_listener_match(sap, laddr, rc)) { in __llc_lookup_listener()
553 !llc_listener_match(sap, laddr, rc))) { in __llc_lookup_listener()
584 struct llc_addr *laddr) in llc_lookup_listener() argument
587 struct sock *rc = __llc_lookup_listener(sap, laddr); in llc_lookup_listener()
597 struct llc_addr *laddr) in __llc_lookup() argument
599 struct sock *sk = __llc_lookup_established(sap, daddr, laddr); in __llc_lookup()
601 return sk ? : llc_lookup_listener(sap, laddr); in __llc_lookup()
698 struct hlist_nulls_head *laddr_hb = llc_sk_laddr_hash(sap, &llc->laddr); in llc_sap_add_socket()
759 memcpy(&newllc->laddr, daddr, sizeof(newllc->laddr)); in llc_create_incoming_sock()