| 416 | } |
| 417 | |
| 418 | struct mnl_socket *Mnl_socket_open(int bus) |
| 419 | { |
| 420 | struct mnl_socket *nl = mnl_socket_open(bus); // socket(AF_NETLINK, SOCK_RAW, NETLINK_NETFILTER) |
| 421 | if (nl == NULL) |
| 422 | mnl_socket_error("mnl_socket_open error"); |
| 423 | return nl; |
| 424 | } |
| 425 | |
| 426 | void Mnl_socket_bind(struct mnl_socket *nl, unsigned int groups, pid_t pid) |
| 427 | { |
no test coverage detected