Lines Matching refs:report_skb
94 struct sk_buff *report_skb; in wimax_gnl_re_state_change_alloc() local
99 report_skb = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL); in wimax_gnl_re_state_change_alloc()
100 if (report_skb == NULL) { in wimax_gnl_re_state_change_alloc()
105 data = genlmsg_put(report_skb, 0, wimax_gnl_family.mcgrp_offset, in wimax_gnl_re_state_change_alloc()
113 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_OLD, old_state); in wimax_gnl_re_state_change_alloc()
118 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_NEW, new_state); in wimax_gnl_re_state_change_alloc()
123 result = nla_put_u32(report_skb, WIMAX_GNL_STCH_IFIDX, in wimax_gnl_re_state_change_alloc()
130 wimax_dev, new_state, old_state, report_skb); in wimax_gnl_re_state_change_alloc()
131 return report_skb; in wimax_gnl_re_state_change_alloc()
134 nlmsg_free(report_skb); in wimax_gnl_re_state_change_alloc()
154 struct wimax_dev *wimax_dev, struct sk_buff *report_skb, in wimax_gnl_re_state_change_send() argument
160 wimax_dev, report_skb); in wimax_gnl_re_state_change_send()
161 if (report_skb == NULL) { in wimax_gnl_re_state_change_send()
165 genlmsg_end(report_skb, header); in wimax_gnl_re_state_change_send()
166 genlmsg_multicast(&wimax_gnl_family, report_skb, 0, 0, GFP_KERNEL); in wimax_gnl_re_state_change_send()
169 wimax_dev, report_skb, result); in wimax_gnl_re_state_change_send()