Searched refs:ctl_reg (Results 1 – 1 of 1) sorted by relevance
4331 struct kern_ctl_reg ctl_reg; in flow_divert_kctl_init() local4334 memset(&ctl_reg, 0, sizeof(ctl_reg)); in flow_divert_kctl_init()4336 strlcpy(ctl_reg.ctl_name, FLOW_DIVERT_CONTROL_NAME, sizeof(ctl_reg.ctl_name)); in flow_divert_kctl_init()4337 ctl_reg.ctl_name[sizeof(ctl_reg.ctl_name) - 1] = '\0'; in flow_divert_kctl_init()4338 ctl_reg.ctl_flags = CTL_FLAG_PRIVILEGED | CTL_FLAG_REG_EXTENDED; in flow_divert_kctl_init()4339 ctl_reg.ctl_sendsize = FD_CTL_SENDBUFF_SIZE; in flow_divert_kctl_init()4341 ctl_reg.ctl_connect = flow_divert_kctl_connect; in flow_divert_kctl_init()4342 ctl_reg.ctl_disconnect = flow_divert_kctl_disconnect; in flow_divert_kctl_init()4343 ctl_reg.ctl_send = flow_divert_kctl_send; in flow_divert_kctl_init()4344 ctl_reg.ctl_rcvd = flow_divert_kctl_rcvd; in flow_divert_kctl_init()[all …]