| Function report | 
| Source Code: lib\kobject_uevent.c | Create Date:2022-07-28 06:14:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:alloc_uevent_skb
Proto:static struct sk_buff *alloc_uevent_skb(struct kobj_uevent_env *env, const char *action_string, const char *devpath)
Type:struct sk_buff
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kobj_uevent_env * | env | |
| const char * | action_string | |
| const char * | devpath | 
| 288 | len = strlen(action_string) + strlen(devpath) + 2 | 
| 289 | skb = allocate a network buffer | 
| 290 | If Not skb Then Return NULL | 
| 294 | scratch = add data to a buffer | 
| 297 | skb_put_data(skb, buf, buflen) | 
| 299 | parms = NETLINK_CB(skb) | 
| 300 | uid = GLOBAL_ROOT_UID | 
| 301 | gid = GLOBAL_ROOT_GID | 
| 302 | dst_group = 1 | 
| 303 | portid = 0 | 
| 305 | Return skb | 
| Name | Describe | 
|---|---|
| uevent_net_broadcast_untagged | |
| uevent_net_broadcast_tagged | 
| 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 |