Lines Matching refs:rep

59 	struct sk_buff *rep;  member
209 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit()
230 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit()
231 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit()
253 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit()
254 if (!msg->rep) in tipc_nl_compat_dumpit()
258 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()
265 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
266 msg->rep = NULL; in tipc_nl_compat_dumpit()
272 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
273 msg->rep = NULL; in tipc_nl_compat_dumpit()
349 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_doit()
350 if (!msg->rep) in tipc_nl_compat_doit()
370 return tipc_add_tlv(msg->rep, TIPC_TLV_BEARER_NAME, in tipc_nl_compat_bearer_dump()
437 tipc_tlv_sprintf(msg->rep, " Window:%u packets\n", in __fill_bc_link_stat()
440 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
448 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
456 tipc_tlv_sprintf(msg->rep, " RX naks:%u defs:%u dups:%u\n", in __fill_bc_link_stat()
461 tipc_tlv_sprintf(msg->rep, " TX naks:%u acks:%u dups:%u\n", in __fill_bc_link_stat()
466 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
510 tipc_tlv_sprintf(msg->rep, "\nLink <%s>\n", in tipc_nl_compat_link_stat_dump()
519 tipc_tlv_sprintf(msg->rep, " ACTIVE"); in tipc_nl_compat_link_stat_dump()
521 tipc_tlv_sprintf(msg->rep, " STANDBY"); in tipc_nl_compat_link_stat_dump()
523 tipc_tlv_sprintf(msg->rep, " DEFUNCT"); in tipc_nl_compat_link_stat_dump()
525 tipc_tlv_sprintf(msg->rep, " MTU:%u Priority:%u", in tipc_nl_compat_link_stat_dump()
529 tipc_tlv_sprintf(msg->rep, " Tolerance:%u ms Window:%u packets\n", in tipc_nl_compat_link_stat_dump()
533 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
542 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
551 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
557 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
568 tipc_tlv_sprintf(msg->rep, "-16384:%u%% -32768:%u%% -66000:%u%%\n", in tipc_nl_compat_link_stat_dump()
576 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
584 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
592 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
621 return tipc_add_tlv(msg->rep, TIPC_TLV_LINK_INFO, in tipc_nl_compat_link_dump()
787 tipc_tlv_sprintf(msg->rep, header[i]); in tipc_nl_compat_name_table_dump_header()
788 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump_header()
836 tipc_tlv_sprintf(msg->rep, "%-10u ", in tipc_nl_compat_name_table_dump()
842 tipc_tlv_sprintf(msg->rep, "%-10u %-10u ", in tipc_nl_compat_name_table_dump()
852 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()
857 tipc_tlv_sprintf(msg->rep, "%-10u %s", in tipc_nl_compat_name_table_dump()
861 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump()
886 tipc_tlv_sprintf(msg->rep, " {%u,%u}", type, lower); in __tipc_nl_compat_publ_dump()
888 tipc_tlv_sprintf(msg->rep, " {%u,%u,%u}", type, lower, upper); in __tipc_nl_compat_publ_dump()
948 tipc_tlv_sprintf(msg->rep, "%u:", sock_ref); in tipc_nl_compat_sk_dump()
958 tipc_tlv_sprintf(msg->rep, " connected to <%u.%u.%u:%u>", in tipc_nl_compat_sk_dump()
965 tipc_tlv_sprintf(msg->rep, " via {%u,%u}\n", in tipc_nl_compat_sk_dump()
969 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
971 tipc_tlv_sprintf(msg->rep, " bound to"); in tipc_nl_compat_sk_dump()
977 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
996 return tipc_add_tlv(msg->rep, TIPC_TLV_MEDIA_NAME, in tipc_nl_compat_media_dump()
1019 return tipc_add_tlv(msg->rep, TIPC_TLV_NODE_INFO, &node_info, in tipc_nl_compat_node_dump()
1065 return tipc_add_tlv(msg->rep, TIPC_TLV_UNSIGNED, &id, sizeof(id)); in tipc_nl_compat_net_dump()
1070 msg->rep = tipc_tlv_alloc(ULTRA_STRING_MAX_LEN); in tipc_cmd_show_stats_compat()
1071 if (!msg->rep) in tipc_cmd_show_stats_compat()
1074 tipc_tlv_init(msg->rep, TIPC_TLV_ULTRA_STRING); in tipc_cmd_show_stats_compat()
1075 tipc_tlv_sprintf(msg->rep, "TIPC version " TIPC_MOD_VER "\n"); in tipc_cmd_show_stats_compat()
1090 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_handle()
1091 if (!msg->rep) in tipc_nl_compat_handle()
1198 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_NET_ADMIN); in tipc_nl_compat_recv()
1205 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1212 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1214 msg.rep = tipc_get_err_tlv(TIPC_CFG_TLV_ERROR); in tipc_nl_compat_recv()
1216 if (!msg.rep) in tipc_nl_compat_recv()
1220 skb_push(msg.rep, len); in tipc_nl_compat_recv()
1221 rep_nlh = nlmsg_hdr(msg.rep); in tipc_nl_compat_recv()
1223 rep_nlh->nlmsg_len = msg.rep->len; in tipc_nl_compat_recv()
1224 genlmsg_unicast(msg.net, msg.rep, NETLINK_CB(skb).portid); in tipc_nl_compat_recv()