Lines Matching refs:ctl_reg
4697 struct kern_ctl_reg ctl_reg; in flow_divert_kctl_init() local
4700 memset(&ctl_reg, 0, sizeof(ctl_reg)); in flow_divert_kctl_init()
4702 strlcpy(ctl_reg.ctl_name, FLOW_DIVERT_CONTROL_NAME, sizeof(ctl_reg.ctl_name)); in flow_divert_kctl_init()
4703 ctl_reg.ctl_name[sizeof(ctl_reg.ctl_name) - 1] = '\0'; in flow_divert_kctl_init()
4707 ctl_reg.ctl_flags = CTL_FLAG_REG_EXTENDED | CTL_FLAG_REG_SETUP; in flow_divert_kctl_init()
4708 ctl_reg.ctl_sendsize = FD_CTL_SENDBUFF_SIZE; in flow_divert_kctl_init()
4710 ctl_reg.ctl_connect = flow_divert_kctl_connect; in flow_divert_kctl_init()
4711 ctl_reg.ctl_disconnect = flow_divert_kctl_disconnect; in flow_divert_kctl_init()
4712 ctl_reg.ctl_send = flow_divert_kctl_send; in flow_divert_kctl_init()
4713 ctl_reg.ctl_rcvd = flow_divert_kctl_rcvd; in flow_divert_kctl_init()
4714 ctl_reg.ctl_setup = flow_divert_kctl_setup; in flow_divert_kctl_init()
4716 result = ctl_register(&ctl_reg, &g_flow_divert_kctl_ref); in flow_divert_kctl_init()