Searched refs:min_len (Results 1 – 8 of 8) sorted by relevance
/net/ipv4/ |
D | inet_diag.c | 837 int *min_len) in valid_devcond() argument 840 *min_len += sizeof(u32); in valid_devcond() 841 if (len < *min_len) in valid_devcond() 848 int *min_len) in valid_hostcond() argument 854 *min_len += sizeof(struct inet_diag_hostcond); in valid_hostcond() 855 if (len < *min_len) in valid_hostcond() 873 *min_len += addr_len; in valid_hostcond() 874 if (len < *min_len) in valid_hostcond() 886 int len, int *min_len) in valid_port_comparison() argument 889 *min_len += sizeof(struct inet_diag_bc_op); in valid_port_comparison() [all …]
|
/net/netfilter/ |
D | nfnetlink.c | 254 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_msg() local 258 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_msg() 259 int attrlen = nlh->nlmsg_len - min_len; in nfnetlink_rcv_msg() 492 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_batch() local 495 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_batch() 497 int attrlen = nlh->nlmsg_len - min_len; in nfnetlink_rcv_batch() 606 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in nfnetlink_rcv_skb_batch() local 607 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_skb_batch() 609 int attrlen = nlh->nlmsg_len - min_len; in nfnetlink_rcv_skb_batch()
|
D | nfnetlink_queue.c | 851 unsigned int min_len = skb_transport_offset(e->skb); in nfqnl_mangle() local 853 if (data_len < min_len) in nfqnl_mangle()
|
/net/netfilter/ipset/ |
D | ip_set_core.c | 1497 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in ip_set_dump_start() local 1499 struct nlattr *attr = (void *)nlh + min_len; in ip_set_dump_start() 1506 nlh->nlmsg_len - min_len, in ip_set_dump_start() 1748 int min_len = nlmsg_total_size(sizeof(struct nfgenmsg)); in call_ad() local 1763 cmdattr = (void *)&errmsg->msg + min_len; in call_ad() 1766 nlh->nlmsg_len - min_len, ip_set_adt_policy, in call_ad()
|
/net/bluetooth/ |
D | hci_event.c | 3982 .min_len = _min, \ 3995 u16 min_len; member 4172 if (skb->len < cc->min_len) { in hci_cc_func() 4174 cc->op, skb->len, cc->min_len); in hci_cc_func() 4186 data = hci_cc_skb_pull(hdev, skb, cc->op, cc->min_len); in hci_cc_func() 7047 .min_len = _min_len, \ 7064 u16 min_len; member 7157 if (skb->len < subev->min_len) { in hci_le_meta_evt() 7159 ev->subevent, skb->len, subev->min_len); in hci_le_meta_evt() 7170 data = hci_le_ev_skb_pull(hdev, skb, ev->subevent, subev->min_len); in hci_le_meta_evt() [all …]
|
/net/core/ |
D | filter.c | 3666 u32 min_len = skb_network_offset(skb); in __bpf_skb_min_len() local 3669 min_len = skb_transport_offset(skb); in __bpf_skb_min_len() 3671 min_len = skb_checksum_start_offset(skb) + in __bpf_skb_min_len() 3673 return min_len; in __bpf_skb_min_len() 3696 u32 min_len = __bpf_skb_min_len(skb); in __bpf_skb_change_tail() local 3699 if (unlikely(flags || new_len > max_len || new_len < min_len)) in __bpf_skb_change_tail()
|
/net/sctp/ |
D | socket.c | 3280 int min_len, max_len; in sctp_setsockopt_maxseg() local 3284 min_len = sctp_min_frag_point(sp, datasize); in sctp_setsockopt_maxseg() 3287 if (val < min_len || val > max_len) in sctp_setsockopt_maxseg()
|
/net/wireless/ |
D | nl80211.c | 13310 if (tok->len < rdev->wiphy.wowlan->tcp->tok->min_len) in nl80211_parse_wowlan_tcp()
|