Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 7 of 7) sorted by relevance

/net/ipv4/
Dip_input.c307 const struct sk_buff *hint) in ip_can_use_hint() argument
309 return hint && !skb_dst(skb) && ip_hdr(hint)->daddr == iph->daddr && in ip_can_use_hint()
310 ip_hdr(hint)->tos == iph->tos; in ip_can_use_hint()
317 const struct sk_buff *hint) in ip_rcv_finish_core() argument
325 if (ip_can_use_hint(skb, iph, hint)) { in ip_rcv_finish_core()
327 dev, hint); in ip_rcv_finish_core()
594 struct sk_buff *skb, *next, *hint = NULL; in ip_list_rcv_finish() local
610 if (ip_rcv_finish_core(net, sk, skb, dev, hint) == NET_RX_DROP) in ip_list_rcv_finish()
615 hint = ip_extract_route_hint(net, skb, in ip_list_rcv_finish()
Dtcp_input.c608 unsigned int hint = min_t(unsigned int, tp->advmss, tp->mss_cache); in tcp_initialize_rcv_mss() local
610 hint = min(hint, tp->rcv_wnd / 2); in tcp_initialize_rcv_mss()
611 hint = min(hint, TCP_MSS_DEFAULT); in tcp_initialize_rcv_mss()
612 hint = max(hint, TCP_MIN_MSS); in tcp_initialize_rcv_mss()
614 inet_csk(sk)->icsk_ack.rcv_mss = hint; in tcp_initialize_rcv_mss()
Droute.c2170 const struct sk_buff *hint) in ip_route_use_hint() argument
2173 struct rtable *rt = skb_rtable(hint); in ip_route_use_hint()
2196 skb_dst_copy(skb, hint); in ip_route_use_hint()
/net/ipv6/
Dip6_input.c93 const struct sk_buff *hint) in ip6_can_use_hint() argument
95 return hint && !skb_dst(skb) && in ip6_can_use_hint()
96 ipv6_addr_equal(&ipv6_hdr(hint)->daddr, &ipv6_hdr(skb)->daddr); in ip6_can_use_hint()
111 struct sk_buff *skb, *next, *hint = NULL; in ip6_list_rcv_finish() local
127 if (ip6_can_use_hint(skb, hint)) in ip6_list_rcv_finish()
128 skb_dst_copy(skb, hint); in ip6_list_rcv_finish()
133 hint = ip6_extract_route_hint(net, skb); in ip6_list_rcv_finish()
/net/sctp/
Dsm_make_chunk.c937 const size_t hint) in sctp_make_abort() argument
953 retval = sctp_make_control(asoc, SCTP_CID_ABORT, flags, hint, in sctp_make_abort()
3573 size_t hint; in sctp_make_fwdtsn() local
3576 hint = (nstreams + 1) * sizeof(__u32); in sctp_make_fwdtsn()
3578 retval = sctp_make_control(asoc, SCTP_CID_FWD_TSN, 0, hint, GFP_ATOMIC); in sctp_make_fwdtsn()
3602 size_t hint; in sctp_make_ifwdtsn() local
3604 hint = (nstreams + 1) * sizeof(__u32); in sctp_make_ifwdtsn()
3606 retval = sctp_make_control(asoc, SCTP_CID_I_FWD_TSN, 0, hint, in sctp_make_ifwdtsn()
/net/tipc/
Dcrypto.c159 char hint[2 * TIPC_AEAD_HINT_LEN + 1]; member
592 bin2hex(tmp->hint, ukey->key + keylen - TIPC_AEAD_HINT_LEN, in tipc_aead_init()
655 memcpy(aead->hint, src->hint, sizeof(src->hint)); in tipc_aead_clone()
2115 aead->hint, in tipc_crypto_key_dump()
/net/bluetooth/
Dl2cap_core.c3569 int type, hint, olen; in l2cap_parse_conf_req() local
3585 hint = type & L2CAP_CONF_HINT; in l2cap_parse_conf_req()
3636 if (hint) in l2cap_parse_conf_req()