Home
last modified time | relevance | path

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

/net/netfilter/
Dnfnetlink.c319 int msglen, type; in nfnetlink_rcv_batch() local
416 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv_batch()
417 if (msglen > skb->len) in nfnetlink_rcv_batch()
418 msglen = skb->len; in nfnetlink_rcv_batch()
419 skb_pull(skb, msglen); in nfnetlink_rcv_batch()
443 int msglen; in nfnetlink_rcv() local
457 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in nfnetlink_rcv()
458 if (msglen > skb->len) in nfnetlink_rcv()
459 msglen = skb->len; in nfnetlink_rcv()
466 skb_pull(skb, msglen); in nfnetlink_rcv()
Dnf_conntrack_sip.c1493 unsigned int msglen, origlen; in sip_help_tcp() local
1543 msglen = origlen = end - dptr; in sip_help_tcp()
1544 if (msglen > datalen) in sip_help_tcp()
1548 &dptr, &msglen); in sip_help_tcp()
1552 diff = msglen - origlen; in sip_help_tcp()
1555 dataoff += msglen; in sip_help_tcp()
1556 dptr += msglen; in sip_help_tcp()
1557 datalen = datalen + diff - msglen; in sip_help_tcp()
/net/bluetooth/
Dhci_sock.c1462 struct msghdr *msg, size_t msglen) in hci_mgmt_cmd() argument
1473 BT_DBG("got %zu bytes", msglen); in hci_mgmt_cmd()
1475 if (msglen < sizeof(*hdr)) in hci_mgmt_cmd()
1478 buf = kmalloc(msglen, GFP_KERNEL); in hci_mgmt_cmd()
1482 if (memcpy_from_msg(buf, msg, msglen)) { in hci_mgmt_cmd()
1492 if (len != msglen - sizeof(*hdr)) { in hci_mgmt_cmd()
1575 err = msglen; in hci_mgmt_cmd()
/net/netlink/
Daf_netlink.c2340 int msglen; in netlink_rcv_skb() local
2365 msglen = NLMSG_ALIGN(nlh->nlmsg_len); in netlink_rcv_skb()
2366 if (msglen > skb->len) in netlink_rcv_skb()
2367 msglen = skb->len; in netlink_rcv_skb()
2368 skb_pull(skb, msglen); in netlink_rcv_skb()
/net/tipc/
Dsocket.c205 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc() argument
208 return ((msglen / FLOWCTL_BLK_SZ) + 1); in tsk_inc()