/* 来发送单播消息 */
extern int netlink_unicast(struct sock *ssk, structsk_buff *skb, __u32 portid, int nonblock);
/* ssk: netlink socket
skb:skb buff 指针
portid:通信的端口号
nonblock:表示该函数是否为非阻塞,如果为1,该函数将在没有接收缓存可利用时立即返回,而如果为0,该函数在没有接收缓存可利用定时睡眠
*/
netlinlk_unicast
猜你喜欢
转载自www.cnblogs.com/ruigelwang/p/13190522.html
今日推荐
周排行