Function report |
Source Code:lib\kobject_uevent.c |
Create Date:2022-07-28 06:14:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:uevent_net_broadcast_untagged
Proto:static int uevent_net_broadcast_untagged(struct kobj_uevent_env *env, const char *action_string, const char *devpath)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kobj_uevent_env * | env | |
| const char * | action_string | |
| const char * | devpath |
| 314 | retval = 0 |
| 318 | uevent_sock = sk |
| 320 | If Not netlink_has_listeners(uevent_sock, 1) Then Continue |
| 323 | If Not skb Then |
| 325 | skb = alloc_uevent_skb(env, action_string, devpath) |
| 326 | If Not skb Then Continue |
| 330 | retval = netlink_broadcast(uevent_sock, skb_get - reference buffer*@skb: buffer to reference* Makes another reference to a socket buffer and returns a pointer* to the buffer., 0, 1, GFP_KERNEL) |
| 336 | consume_skb(skb) |
| 338 | Return retval |
| Name | Describe |
|---|---|
| kobject_uevent_net_broadcast |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |