Home
last modified time | relevance | path

Searched refs:rh (Results 1 – 5 of 5) sorted by relevance

/net/ipv6/netfilter/
Dip6t_rt.c42 const struct ipv6_rt_hdr *rh; in rt_mt6() local
59 rh = skb_header_pointer(skb, ptr, sizeof(_route), &_route); in rt_mt6()
60 if (rh == NULL) { in rt_mt6()
65 hdrlen = ipv6_optlen(rh); in rt_mt6()
71 pr_debug("IPv6 RT LEN %u %u ", hdrlen, rh->hdrlen); in rt_mt6()
72 pr_debug("TYPE %04X ", rh->type); in rt_mt6()
73 pr_debug("SGS_LEFT %u %02X\n", rh->segments_left, rh->segments_left); in rt_mt6()
77 rh->segments_left, in rt_mt6()
80 rtinfo->rt_type, rh->type, in rt_mt6()
82 ((rtinfo->rt_type == rh->type) ^ in rt_mt6()
[all …]
/net/dccp/ccids/lib/
Dloss_interval.c139 int tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, in tfrc_lh_interval_add() argument
144 if (cur != NULL && !tfrc_lh_is_new_loss(cur, tfrc_rx_hist_loss_prev(rh))) in tfrc_lh_interval_add()
153 new->li_seqno = tfrc_rx_hist_loss_prev(rh)->tfrchrx_seqno; in tfrc_lh_interval_add()
154 new->li_ccval = tfrc_rx_hist_loss_prev(rh)->tfrchrx_ccval; in tfrc_lh_interval_add()
162 tfrc_rx_hist_last_rcv(rh)->tfrchrx_seqno) + 1; in tfrc_lh_interval_add()
/net/ipv4/
Dinetpeer.c247 int lh, rh; in peer_avl_rebalance() local
255 rh = node_height(r); in peer_avl_rebalance()
256 if (lh > rh + 1) { /* l: RH+2 */ in peer_avl_rebalance()
275 node->avl_height = rh + 1; /* node: RH+1 */ in peer_avl_rebalance()
278 l->avl_height = rh + 1; /* l: RH+1 */ in peer_avl_rebalance()
281 lr->avl_height = rh + 2; in peer_avl_rebalance()
284 } else if (rh > lh + 1) { /* r: LH+2 */ in peer_avl_rebalance()
313 node->avl_height = (lh > rh ? lh : rh) + 1; in peer_avl_rebalance()
/net/ipv6/
Dexthdrs_core.c225 struct ipv6_rt_hdr _rh, *rh; in ipv6_find_hdr() local
227 rh = skb_header_pointer(skb, start, sizeof(_rh), in ipv6_find_hdr()
229 if (!rh) in ipv6_find_hdr()
233 rh->segments_left == 0) in ipv6_find_hdr()
/net/netfilter/
Dxt_connlimit.c107 union nf_inet_addr lh, rh; in same_source_net() local
112 rh.ip6[i] = u3->ip6[i] & mask->ip6[i]; in same_source_net()
115 return memcmp(&lh.ip6, &rh.ip6, sizeof(lh.ip6)); in same_source_net()