Lines Matching refs:rep

61 	struct sk_buff *rep;  member
238 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit()
260 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit()
261 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit()
285 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit()
286 if (!msg->rep) in tipc_nl_compat_dumpit()
290 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()
295 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
296 msg->rep = NULL; in tipc_nl_compat_dumpit()
303 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
304 msg->rep = NULL; in tipc_nl_compat_dumpit()
311 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
312 msg->rep = NULL; in tipc_nl_compat_dumpit()
319 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
320 msg->rep = NULL; in tipc_nl_compat_dumpit()
397 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_doit()
398 if (!msg->rep) in tipc_nl_compat_doit()
418 return tipc_add_tlv(msg->rep, TIPC_TLV_BEARER_NAME, in tipc_nl_compat_bearer_dump()
504 tipc_tlv_sprintf(msg->rep, " Window:%u packets\n", in __fill_bc_link_stat()
507 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
515 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
523 tipc_tlv_sprintf(msg->rep, " RX naks:%u defs:%u dups:%u\n", in __fill_bc_link_stat()
528 tipc_tlv_sprintf(msg->rep, " TX naks:%u acks:%u dups:%u\n", in __fill_bc_link_stat()
533 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
589 tipc_tlv_sprintf(msg->rep, "\nLink <%s>\n", in tipc_nl_compat_link_stat_dump()
598 tipc_tlv_sprintf(msg->rep, " ACTIVE"); in tipc_nl_compat_link_stat_dump()
600 tipc_tlv_sprintf(msg->rep, " STANDBY"); in tipc_nl_compat_link_stat_dump()
602 tipc_tlv_sprintf(msg->rep, " DEFUNCT"); in tipc_nl_compat_link_stat_dump()
604 tipc_tlv_sprintf(msg->rep, " MTU:%u Priority:%u", in tipc_nl_compat_link_stat_dump()
608 tipc_tlv_sprintf(msg->rep, " Tolerance:%u ms Window:%u packets\n", in tipc_nl_compat_link_stat_dump()
612 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
621 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
630 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
636 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
647 tipc_tlv_sprintf(msg->rep, "-16384:%u%% -32768:%u%% -66000:%u%%\n", in tipc_nl_compat_link_stat_dump()
655 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
663 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
671 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
700 return tipc_add_tlv(msg->rep, TIPC_TLV_LINK_INFO, in tipc_nl_compat_link_dump()
887 tipc_tlv_sprintf(msg->rep, header[i]); in tipc_nl_compat_name_table_dump_header()
888 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump_header()
938 tipc_tlv_sprintf(msg->rep, "%-10u ", in tipc_nl_compat_name_table_dump()
944 tipc_tlv_sprintf(msg->rep, "%-10u %-10u ", in tipc_nl_compat_name_table_dump()
954 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()
959 tipc_tlv_sprintf(msg->rep, "%-10u %s", in tipc_nl_compat_name_table_dump()
963 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump()
988 tipc_tlv_sprintf(msg->rep, " {%u,%u}", type, lower); in __tipc_nl_compat_publ_dump()
990 tipc_tlv_sprintf(msg->rep, " {%u,%u,%u}", type, lower, upper); in __tipc_nl_compat_publ_dump()
1054 tipc_tlv_sprintf(msg->rep, "%u:", sock_ref); in tipc_nl_compat_sk_dump()
1068 tipc_tlv_sprintf(msg->rep, " connected to <%u.%u.%u:%u>", in tipc_nl_compat_sk_dump()
1075 tipc_tlv_sprintf(msg->rep, " via {%u,%u}\n", in tipc_nl_compat_sk_dump()
1079 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
1081 tipc_tlv_sprintf(msg->rep, " bound to"); in tipc_nl_compat_sk_dump()
1087 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
1106 return tipc_add_tlv(msg->rep, TIPC_TLV_MEDIA_NAME, in tipc_nl_compat_media_dump()
1129 return tipc_add_tlv(msg->rep, TIPC_TLV_NODE_INFO, &node_info, in tipc_nl_compat_node_dump()
1175 return tipc_add_tlv(msg->rep, TIPC_TLV_UNSIGNED, &id, sizeof(id)); in tipc_nl_compat_net_dump()
1180 msg->rep = tipc_tlv_alloc(ULTRA_STRING_MAX_LEN); in tipc_cmd_show_stats_compat()
1181 if (!msg->rep) in tipc_cmd_show_stats_compat()
1184 tipc_tlv_init(msg->rep, TIPC_TLV_ULTRA_STRING); in tipc_cmd_show_stats_compat()
1185 tipc_tlv_sprintf(msg->rep, "TIPC version " TIPC_MOD_VER "\n"); in tipc_cmd_show_stats_compat()
1200 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_handle()
1201 if (!msg->rep) in tipc_nl_compat_handle()
1308 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_NET_ADMIN); in tipc_nl_compat_recv()
1315 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1322 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1324 msg.rep = tipc_get_err_tlv(TIPC_CFG_TLV_ERROR); in tipc_nl_compat_recv()
1326 if (!msg.rep) in tipc_nl_compat_recv()
1330 skb_push(msg.rep, len); in tipc_nl_compat_recv()
1331 rep_nlh = nlmsg_hdr(msg.rep); in tipc_nl_compat_recv()
1333 rep_nlh->nlmsg_len = msg.rep->len; in tipc_nl_compat_recv()
1334 genlmsg_unicast(msg.net, msg.rep, NETLINK_CB(skb).portid); in tipc_nl_compat_recv()