Lines Matching refs:rep

59 	struct sk_buff *rep;  member
205 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit()
225 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit()
226 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit()
248 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit()
249 if (!msg->rep) in tipc_nl_compat_dumpit()
253 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()
260 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
266 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
338 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_doit()
339 if (!msg->rep) in tipc_nl_compat_doit()
353 return tipc_add_tlv(msg->rep, TIPC_TLV_BEARER_NAME, in tipc_nl_compat_bearer_dump()
420 tipc_tlv_sprintf(msg->rep, " Window:%u packets\n", in __fill_bc_link_stat()
423 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
431 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
439 tipc_tlv_sprintf(msg->rep, " RX naks:%u defs:%u dups:%u\n", in __fill_bc_link_stat()
444 tipc_tlv_sprintf(msg->rep, " TX naks:%u acks:%u dups:%u\n", in __fill_bc_link_stat()
449 tipc_tlv_sprintf(msg->rep, in __fill_bc_link_stat()
476 tipc_tlv_sprintf(msg->rep, "\nLink <%s>\n", in tipc_nl_compat_link_stat_dump()
485 tipc_tlv_sprintf(msg->rep, " ACTIVE"); in tipc_nl_compat_link_stat_dump()
487 tipc_tlv_sprintf(msg->rep, " STANDBY"); in tipc_nl_compat_link_stat_dump()
489 tipc_tlv_sprintf(msg->rep, " DEFUNCT"); in tipc_nl_compat_link_stat_dump()
491 tipc_tlv_sprintf(msg->rep, " MTU:%u Priority:%u", in tipc_nl_compat_link_stat_dump()
495 tipc_tlv_sprintf(msg->rep, " Tolerance:%u ms Window:%u packets\n", in tipc_nl_compat_link_stat_dump()
499 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
508 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
517 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
523 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
534 tipc_tlv_sprintf(msg->rep, "-16384:%u%% -32768:%u%% -66000:%u%%\n", in tipc_nl_compat_link_stat_dump()
542 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
550 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
558 tipc_tlv_sprintf(msg->rep, in tipc_nl_compat_link_stat_dump()
579 return tipc_add_tlv(msg->rep, TIPC_TLV_LINK_INFO, in tipc_nl_compat_link_dump()
745 tipc_tlv_sprintf(msg->rep, header[i]); in tipc_nl_compat_name_table_dump_header()
746 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump_header()
783 tipc_tlv_sprintf(msg->rep, "%-10u ", in tipc_nl_compat_name_table_dump()
789 tipc_tlv_sprintf(msg->rep, "%-10u %-10u ", in tipc_nl_compat_name_table_dump()
799 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()
804 tipc_tlv_sprintf(msg->rep, "%-10u %s", in tipc_nl_compat_name_table_dump()
808 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_name_table_dump()
826 tipc_tlv_sprintf(msg->rep, " {%u,%u}", type, lower); in __tipc_nl_compat_publ_dump()
828 tipc_tlv_sprintf(msg->rep, " {%u,%u,%u}", type, lower, upper); in __tipc_nl_compat_publ_dump()
882 tipc_tlv_sprintf(msg->rep, "%u:", sock_ref); in tipc_nl_compat_sk_dump()
892 tipc_tlv_sprintf(msg->rep, " connected to <%u.%u.%u:%u>", in tipc_nl_compat_sk_dump()
899 tipc_tlv_sprintf(msg->rep, " via {%u,%u}\n", in tipc_nl_compat_sk_dump()
903 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
905 tipc_tlv_sprintf(msg->rep, " bound to"); in tipc_nl_compat_sk_dump()
911 tipc_tlv_sprintf(msg->rep, "\n"); in tipc_nl_compat_sk_dump()
924 return tipc_add_tlv(msg->rep, TIPC_TLV_MEDIA_NAME, in tipc_nl_compat_media_dump()
940 return tipc_add_tlv(msg->rep, TIPC_TLV_NODE_INFO, &node_info, in tipc_nl_compat_node_dump()
978 return tipc_add_tlv(msg->rep, TIPC_TLV_UNSIGNED, &id, sizeof(id)); in tipc_nl_compat_net_dump()
983 msg->rep = tipc_tlv_alloc(ULTRA_STRING_MAX_LEN); in tipc_cmd_show_stats_compat()
984 if (!msg->rep) in tipc_cmd_show_stats_compat()
987 tipc_tlv_init(msg->rep, TIPC_TLV_ULTRA_STRING); in tipc_cmd_show_stats_compat()
988 tipc_tlv_sprintf(msg->rep, "TIPC version " TIPC_MOD_VER "\n"); in tipc_cmd_show_stats_compat()
1003 msg->rep = tipc_tlv_alloc(0); in tipc_nl_compat_handle()
1004 if (!msg->rep) in tipc_nl_compat_handle()
1111 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_NET_ADMIN); in tipc_nl_compat_recv()
1118 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1125 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED); in tipc_nl_compat_recv()
1127 msg.rep = tipc_get_err_tlv(TIPC_CFG_TLV_ERROR); in tipc_nl_compat_recv()
1129 if (!msg.rep) in tipc_nl_compat_recv()
1133 skb_push(msg.rep, len); in tipc_nl_compat_recv()
1134 rep_nlh = nlmsg_hdr(msg.rep); in tipc_nl_compat_recv()
1136 rep_nlh->nlmsg_len = msg.rep->len; in tipc_nl_compat_recv()
1137 genlmsg_unicast(msg.net, msg.rep, NETLINK_CB(skb).portid); in tipc_nl_compat_recv()