Lines Matching defs:link
95 static int macsec_alloc(struct rtnl_link *link) in macsec_alloc()
115 static int macsec_parse(struct rtnl_link *link, struct nlattr *data, in macsec_parse()
197 static void macsec_free(struct rtnl_link *link) in macsec_free()
260 static void macsec_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in macsec_dump_line()
268 static void macsec_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in macsec_dump_details()
299 static int macsec_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in macsec_put_attrs()
419 #define IS_MACSEC_LINK_ASSERT(link) \ argument
428 struct rtnl_link *link = rtnl_link_alloc(); in rtnl_link_macsec_alloc() local
448 int rtnl_link_macsec_set_sci(struct rtnl_link *link, uint64_t sci) in rtnl_link_macsec_set_sci()
468 int rtnl_link_macsec_get_sci(struct rtnl_link *link, uint64_t *sci) in rtnl_link_macsec_get_sci()
490 int rtnl_link_macsec_set_port(struct rtnl_link *link, uint16_t port) in rtnl_link_macsec_set_port()
509 int rtnl_link_macsec_get_port(struct rtnl_link *link, uint16_t *port) in rtnl_link_macsec_get_port()
524 int rtnl_link_macsec_set_cipher_suite(struct rtnl_link *link, uint64_t cipher_suite) in rtnl_link_macsec_set_cipher_suite()
536 int rtnl_link_macsec_get_cipher_suite(struct rtnl_link *link, uint64_t *cs) in rtnl_link_macsec_get_cipher_suite()
551 int rtnl_link_macsec_set_icv_len(struct rtnl_link *link, uint16_t icv_len) in rtnl_link_macsec_set_icv_len()
566 int rtnl_link_macsec_get_icv_len(struct rtnl_link *link, uint16_t *icv_len) in rtnl_link_macsec_get_icv_len()
581 int rtnl_link_macsec_set_protect(struct rtnl_link *link, uint8_t protect) in rtnl_link_macsec_set_protect()
596 int rtnl_link_macsec_get_protect(struct rtnl_link *link, uint8_t *protect) in rtnl_link_macsec_get_protect()
611 int rtnl_link_macsec_set_encrypt(struct rtnl_link *link, uint8_t encrypt) in rtnl_link_macsec_set_encrypt()
626 int rtnl_link_macsec_get_encrypt(struct rtnl_link *link, uint8_t *encrypt) in rtnl_link_macsec_get_encrypt()
641 int rtnl_link_macsec_set_encoding_sa(struct rtnl_link *link, uint8_t encoding_sa) in rtnl_link_macsec_set_encoding_sa()
656 int rtnl_link_macsec_get_encoding_sa(struct rtnl_link *link, uint8_t *encoding_sa) in rtnl_link_macsec_get_encoding_sa()
671 int rtnl_link_macsec_set_validation_type(struct rtnl_link *link, enum macsec_validation_type valida… in rtnl_link_macsec_set_validation_type()
686 int rtnl_link_macsec_get_validation_type(struct rtnl_link *link, enum macsec_validation_type *valid… in rtnl_link_macsec_get_validation_type()
701 int rtnl_link_macsec_set_replay_protect(struct rtnl_link *link, uint8_t replay_protect) in rtnl_link_macsec_set_replay_protect()
716 int rtnl_link_macsec_get_replay_protect(struct rtnl_link *link, uint8_t *replay_protect) in rtnl_link_macsec_get_replay_protect()
731 int rtnl_link_macsec_set_window(struct rtnl_link *link, uint32_t window) in rtnl_link_macsec_set_window()
743 int rtnl_link_macsec_get_window(struct rtnl_link *link, uint32_t *window) in rtnl_link_macsec_get_window()
758 int rtnl_link_macsec_set_send_sci(struct rtnl_link *link, uint8_t send_sci) in rtnl_link_macsec_set_send_sci()
773 int rtnl_link_macsec_get_send_sci(struct rtnl_link *link, uint8_t *send_sci) in rtnl_link_macsec_get_send_sci()
788 int rtnl_link_macsec_set_end_station(struct rtnl_link *link, uint8_t end_station) in rtnl_link_macsec_set_end_station()
803 int rtnl_link_macsec_get_end_station(struct rtnl_link *link, uint8_t *es) in rtnl_link_macsec_get_end_station()
818 int rtnl_link_macsec_set_scb(struct rtnl_link *link, uint8_t scb) in rtnl_link_macsec_set_scb()
833 int rtnl_link_macsec_get_scb(struct rtnl_link *link, uint8_t *scb) in rtnl_link_macsec_get_scb()