Searched refs:msgsize (Results 1 – 2 of 2) sorted by relevance
/net/mctp/test/ |
D | route-test.c | 125 unsigned int msgsize; member 132 int rc, i, n, mtu, msgsize; in mctp_test_fragment() local 140 msgsize = params->msgsize; in mctp_test_fragment() 147 skb = mctp_test_create_skb(&hdr, msgsize); in mctp_test_fragment() 211 {.mtu = 68, .msgsize = 63, .n_frags = 1}, 212 {.mtu = 68, .msgsize = 64, .n_frags = 1}, 213 {.mtu = 68, .msgsize = 65, .n_frags = 2}, 214 {.mtu = 68, .msgsize = 66, .n_frags = 2}, 215 {.mtu = 68, .msgsize = 127, .n_frags = 2}, 216 {.mtu = 68, .msgsize = 128, .n_frags = 2}, [all …]
|
/net/openvswitch/ |
D | datapath.c | 1552 size_t msgsize = NLMSG_ALIGN(sizeof(struct ovs_header)); in ovs_dp_cmd_msg_size() local 1554 msgsize += nla_total_size(IFNAMSIZ); in ovs_dp_cmd_msg_size() 1555 msgsize += nla_total_size_64bit(sizeof(struct ovs_dp_stats)); in ovs_dp_cmd_msg_size() 1556 msgsize += nla_total_size_64bit(sizeof(struct ovs_dp_megaflow_stats)); in ovs_dp_cmd_msg_size() 1557 msgsize += nla_total_size(sizeof(u32)); /* OVS_DP_ATTR_USER_FEATURES */ in ovs_dp_cmd_msg_size() 1558 msgsize += nla_total_size(sizeof(u32)); /* OVS_DP_ATTR_MASKS_CACHE_SIZE */ in ovs_dp_cmd_msg_size() 1559 msgsize += nla_total_size(sizeof(u32) * nr_cpu_ids); /* OVS_DP_ATTR_PER_CPU_PIDS */ in ovs_dp_cmd_msg_size() 1561 return msgsize; in ovs_dp_cmd_msg_size()
|