Lines Matching refs:rep
60 struct sk_buff *rep;
240 if (tipc_skb_tailroom(msg->rep) <= 1) {
262 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) {
263 char *tail = skb_tail_pointer(msg->rep);
287 msg->rep = tipc_tlv_alloc(msg->rep_size);
288 if (!msg->rep)
292 tipc_tlv_init(msg->rep, msg->rep_type);
297 kfree_skb(msg->rep);
298 msg->rep = NULL;
305 kfree_skb(msg->rep);
306 msg->rep = NULL;
313 kfree_skb(msg->rep);
314 msg->rep = NULL;
321 kfree_skb(msg->rep);
322 msg->rep = NULL;
399 msg->rep = tipc_tlv_alloc(0);
400 if (!msg->rep)
420 return tipc_add_tlv(msg->rep, TIPC_TLV_BEARER_NAME,
506 tipc_tlv_sprintf(msg->rep, " Window:%u packets\n",
509 tipc_tlv_sprintf(msg->rep,
517 tipc_tlv_sprintf(msg->rep,
525 tipc_tlv_sprintf(msg->rep, " RX naks:%u defs:%u dups:%u\n",
530 tipc_tlv_sprintf(msg->rep, " TX naks:%u acks:%u dups:%u\n",
535 tipc_tlv_sprintf(msg->rep,
591 tipc_tlv_sprintf(msg->rep, "\nLink <%s>\n",
600 tipc_tlv_sprintf(msg->rep, " ACTIVE");
602 tipc_tlv_sprintf(msg->rep, " STANDBY");
604 tipc_tlv_sprintf(msg->rep, " DEFUNCT");
606 tipc_tlv_sprintf(msg->rep, " MTU:%u Priority:%u",
610 tipc_tlv_sprintf(msg->rep, " Tolerance:%u ms Window:%u packets\n",
614 tipc_tlv_sprintf(msg->rep,
623 tipc_tlv_sprintf(msg->rep,
632 tipc_tlv_sprintf(msg->rep,
638 tipc_tlv_sprintf(msg->rep,
649 tipc_tlv_sprintf(msg->rep, "-16384:%u%% -32768:%u%% -66000:%u%%\n",
657 tipc_tlv_sprintf(msg->rep,
665 tipc_tlv_sprintf(msg->rep,
673 tipc_tlv_sprintf(msg->rep,
702 return tipc_add_tlv(msg->rep, TIPC_TLV_LINK_INFO,
889 tipc_tlv_sprintf(msg->rep, header[i]);
890 tipc_tlv_sprintf(msg->rep, "\n");
940 tipc_tlv_sprintf(msg->rep, "%-10u ",
946 tipc_tlv_sprintf(msg->rep, "%-10u %-10u ",
956 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str);
961 tipc_tlv_sprintf(msg->rep, "%-10u %s",
965 tipc_tlv_sprintf(msg->rep, "\n");
990 tipc_tlv_sprintf(msg->rep, " {%u,%u}", type, lower);
992 tipc_tlv_sprintf(msg->rep, " {%u,%u,%u}", type, lower, upper);
1056 tipc_tlv_sprintf(msg->rep, "%u:", sock_ref);
1070 tipc_tlv_sprintf(msg->rep, " connected to <%u.%u.%u:%u>",
1077 tipc_tlv_sprintf(msg->rep, " via {%u,%u}\n",
1081 tipc_tlv_sprintf(msg->rep, "\n");
1083 tipc_tlv_sprintf(msg->rep, " bound to");
1089 tipc_tlv_sprintf(msg->rep, "\n");
1108 return tipc_add_tlv(msg->rep, TIPC_TLV_MEDIA_NAME,
1131 return tipc_add_tlv(msg->rep, TIPC_TLV_NODE_INFO, &node_info,
1177 return tipc_add_tlv(msg->rep, TIPC_TLV_UNSIGNED, &id, sizeof(id));
1182 msg->rep = tipc_tlv_alloc(ULTRA_STRING_MAX_LEN);
1183 if (!msg->rep)
1186 tipc_tlv_init(msg->rep, TIPC_TLV_ULTRA_STRING);
1187 tipc_tlv_sprintf(msg->rep, "TIPC version " TIPC_MOD_VER "\n");
1202 msg->rep = tipc_tlv_alloc(0);
1203 if (!msg->rep)
1310 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_NET_ADMIN);
1317 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED);
1324 msg.rep = tipc_get_err_tlv(TIPC_CFG_NOT_SUPPORTED);
1326 msg.rep = tipc_get_err_tlv(TIPC_CFG_TLV_ERROR);
1328 if (!msg.rep)
1332 skb_push(msg.rep, len);
1333 rep_nlh = nlmsg_hdr(msg.rep);
1335 rep_nlh->nlmsg_len = msg.rep->len;
1336 genlmsg_unicast(msg.net, msg.rep, NETLINK_CB(skb).portid);