Skip to content

AF_SYSTEM and AF_SYS_CONTROL types do not fit in sockaddr_ctl #3044

Open
@siegfried

Description

@siegfried

I'm trying to assign AF_SYSTEM to sockaddr_ctl.sc_family which is a u_char, but AF_SYSTEM is c_int.

AS_SYS_CONTROL should be u16 in sockaddr_ctl.ss_sysaddr as well yet its definition is c_int.

pub const AF_SYS_CONTROL: ::c_int = 2;

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions