Searched refs:hndl (Results 1 – 6 of 6) sorted by relevance
/device/moto/shamu/dataservices/rmnetctl/src/ |
D | librmnetctl.c | 91 static int rmnetctl_transact(rmnetctl_hndl_t *hndl, in rmnetctl_transact() argument 103 if (!hndl){ in rmnetctl_transact() 133 nlmsghdr_val->nlmsg_seq = hndl->transaction_id; in rmnetctl_transact() 134 nlmsghdr_val->nlmsg_pid = hndl->pid; in rmnetctl_transact() 141 hndl->transaction_id++; in rmnetctl_transact() 144 if (sendto(hndl->netlink_fd, in rmnetctl_transact() 148 (struct sockaddr *) &hndl->dest_addr, in rmnetctl_transact() 156 bytes_read = recvfrom(hndl->netlink_fd, in rmnetctl_transact() 160 (struct sockaddr *) &hndl->src_addr, in rmnetctl_transact() 292 int rmnetctl_init(rmnetctl_hndl_t **hndl, uint16_t *error_code) in rmnetctl_init() argument [all …]
|
/device/lge/bullhead/dataservices/rmnetctl/src/ |
D | librmnetctl.c | 103 static uint16_t rmnetctl_transact(rmnetctl_hndl_t *hndl, in rmnetctl_transact() argument 117 if (!hndl){ in rmnetctl_transact() 147 nlmsghdr_val->nlmsg_seq = hndl->transaction_id; in rmnetctl_transact() 148 nlmsghdr_val->nlmsg_pid = hndl->pid; in rmnetctl_transact() 155 hndl->transaction_id++; in rmnetctl_transact() 157 saddr_ptr = &hndl->dest_addr; in rmnetctl_transact() 159 if (sendto(hndl->netlink_fd, in rmnetctl_transact() 171 saddr_ptr = &hndl->src_addr; in rmnetctl_transact() 172 bytes_read = recvfrom(hndl->netlink_fd, in rmnetctl_transact() 311 int rmnetctl_init(rmnetctl_hndl_t **hndl, uint16_t *error_code) in rmnetctl_init() argument [all …]
|
/device/huawei/angler/dataservices/rmnetctl/src/ |
D | librmnetctl.c | 102 static uint16_t rmnetctl_transact(rmnetctl_hndl_t *hndl, in rmnetctl_transact() argument 116 if (!hndl){ in rmnetctl_transact() 146 nlmsghdr_val->nlmsg_seq = hndl->transaction_id; in rmnetctl_transact() 147 nlmsghdr_val->nlmsg_pid = hndl->pid; in rmnetctl_transact() 154 hndl->transaction_id++; in rmnetctl_transact() 156 saddr_ptr = &hndl->dest_addr; in rmnetctl_transact() 158 if (sendto(hndl->netlink_fd, in rmnetctl_transact() 170 saddr_ptr = &hndl->src_addr; in rmnetctl_transact() 171 bytes_read = recvfrom(hndl->netlink_fd, in rmnetctl_transact() 310 int rmnetctl_init(rmnetctl_hndl_t **hndl, uint16_t *error_code) in rmnetctl_init() argument [all …]
|
/device/moto/shamu/dataservices/rmnetctl/inc/ |
D | librmnetctl.h | 143 int rmnetctl_init(rmnetctl_hndl_t **hndl, uint16_t *error_code); 151 void rmnetctl_cleanup(rmnetctl_hndl_t *hndl); 168 int rmnet_associate_network_device(rmnetctl_hndl_t *hndl, 188 int rmnet_get_network_device_associated(rmnetctl_hndl_t *hndl, 208 int rmnet_set_link_egress_data_format(rmnetctl_hndl_t *hndl, 229 int rmnet_get_link_egress_data_format(rmnetctl_hndl_t *hndl, 250 int rmnet_set_link_ingress_data_format_tailspace(rmnetctl_hndl_t *hndl, 270 int rmnet_get_link_ingress_data_format_tailspace(rmnetctl_hndl_t *hndl, 276 inline int rmnet_set_link_ingress_data_format(rmnetctl_hndl_t *hndl, in rmnet_set_link_ingress_data_format() argument 281 return rmnet_set_link_ingress_data_format_tailspace(hndl, in rmnet_set_link_ingress_data_format() [all …]
|
/device/huawei/angler/dataservices/rmnetctl/inc/ |
D | librmnetctl.h | 187 int rmnetctl_init(rmnetctl_hndl_t **hndl, uint16_t *error_code); 195 void rmnetctl_cleanup(rmnetctl_hndl_t *hndl); 212 int rmnet_associate_network_device(rmnetctl_hndl_t *hndl, 232 int rmnet_get_network_device_associated(rmnetctl_hndl_t *hndl, 252 int rmnet_set_link_egress_data_format(rmnetctl_hndl_t *hndl, 273 int rmnet_get_link_egress_data_format(rmnetctl_hndl_t *hndl, 294 int rmnet_set_link_ingress_data_format_tailspace(rmnetctl_hndl_t *hndl, 314 int rmnet_get_link_ingress_data_format_tailspace(rmnetctl_hndl_t *hndl, 320 inline int rmnet_set_link_ingress_data_format(rmnetctl_hndl_t *hndl, in rmnet_set_link_ingress_data_format() argument 325 return rmnet_set_link_ingress_data_format_tailspace(hndl, in rmnet_set_link_ingress_data_format() [all …]
|
/device/lge/bullhead/dataservices/rmnetctl/inc/ |
D | librmnetctl.h | 187 int rmnetctl_init(rmnetctl_hndl_t **hndl, uint16_t *error_code); 195 void rmnetctl_cleanup(rmnetctl_hndl_t *hndl); 212 int rmnet_associate_network_device(rmnetctl_hndl_t *hndl, 232 int rmnet_get_network_device_associated(rmnetctl_hndl_t *hndl, 252 int rmnet_set_link_egress_data_format(rmnetctl_hndl_t *hndl, 273 int rmnet_get_link_egress_data_format(rmnetctl_hndl_t *hndl, 294 int rmnet_set_link_ingress_data_format_tailspace(rmnetctl_hndl_t *hndl, 314 int rmnet_get_link_ingress_data_format_tailspace(rmnetctl_hndl_t *hndl, 320 inline int rmnet_set_link_ingress_data_format(rmnetctl_hndl_t *hndl, in rmnet_set_link_ingress_data_format() argument 325 return rmnet_set_link_ingress_data_format_tailspace(hndl, in rmnet_set_link_ingress_data_format() [all …]
|