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