Searched refs:prim (Results 1 – 7 of 7) sorted by relevance
/net/llc/ |
D | llc_sap.c | 72 void llc_save_primitive(struct sock *sk, struct sk_buff* skb, u8 prim) in llc_save_primitive() argument 82 addr->sllc_test = prim == LLC_TEST_PRIM; in llc_save_primitive() 83 addr->sllc_xid = prim == LLC_XID_PRIM; in llc_save_primitive() 84 addr->sllc_ua = prim == LLC_DATAUNIT_PRIM; in llc_save_primitive() 101 ev->prim = LLC_TEST_PRIM; break; in llc_sap_rtn_pdu() 103 ev->prim = LLC_XID_PRIM; break; in llc_sap_rtn_pdu() 105 ev->prim = LLC_DATAUNIT_PRIM; break; in llc_sap_rtn_pdu() 220 llc_save_primitive(skb->sk, skb, ev->prim); in llc_sap_state_process() 251 ev->prim = LLC_TEST_PRIM; in llc_build_and_send_test_pkt() 277 ev->prim = LLC_XID_PRIM; in llc_build_and_send_xid_pkt()
|
D | llc_s_ev.c | 46 ev->prim == LLC_DATAUNIT_PRIM && in llc_sap_ev_unitdata_req() 56 ev->prim == LLC_XID_PRIM && in llc_sap_ev_xid_req() 85 ev->prim == LLC_TEST_PRIM && in llc_sap_ev_test_req()
|
D | llc_if.c | 57 ev->prim = LLC_DATA_PRIM; in llc_build_and_send_pkt() 105 ev->prim = LLC_CONN_PRIM; in llc_establish_connection() 146 ev->prim = LLC_DISC_PRIM; in llc_send_disc()
|
D | llc_c_ev.c | 103 return ev->prim == LLC_CONN_PRIM && in llc_conn_ev_conn_req() 111 return ev->prim == LLC_DATA_PRIM && in llc_conn_ev_data_req() 119 return ev->prim == LLC_DISC_PRIM && in llc_conn_ev_disc_req() 127 return ev->prim == LLC_RESET_PRIM && in llc_conn_ev_rst_req()
|
D | llc_station.c | 77 u8 prim; member 204 ev->prim == LLC_DISABLE_PRIM && in llc_stat_ev_disable_req()
|
/net/ipv4/ |
D | fib_frontend.c | 714 struct in_ifaddr *prim = ifa; in fib_add_ifaddr() local 720 prim = inet_ifa_byprefix(in_dev, prefix, mask); in fib_add_ifaddr() 721 if (prim == NULL) { in fib_add_ifaddr() 727 fib_magic(RTM_NEWROUTE, RTN_LOCAL, addr, 32, prim); in fib_add_ifaddr() 734 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, ifa->ifa_broadcast, 32, prim); in fib_add_ifaddr() 739 RTN_UNICAST, prefix, ifa->ifa_prefixlen, prim); in fib_add_ifaddr() 743 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix, 32, prim); in fib_add_ifaddr() 744 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix|~mask, 32, prim); in fib_add_ifaddr() 754 struct in_ifaddr *prim = ifa; in fib_del_ifaddr() local 765 RTN_UNICAST, any, ifa->ifa_prefixlen, prim); in fib_del_ifaddr() [all …]
|
/net/sctp/ |
D | socket.c | 2587 struct sctp_prim prim; in sctp_setsockopt_primary_addr() local 2593 if (copy_from_user(&prim, optval, sizeof(struct sctp_prim))) in sctp_setsockopt_primary_addr() 2596 trans = sctp_addr_id2transport(sk, &prim.ssp_addr, prim.ssp_assoc_id); in sctp_setsockopt_primary_addr() 2872 struct sctp_setpeerprim prim; in sctp_setsockopt_peer_primary_addr() local 2885 if (copy_from_user(&prim, optval, optlen)) in sctp_setsockopt_peer_primary_addr() 2888 asoc = sctp_id2assoc(sk, prim.sspp_assoc_id); in sctp_setsockopt_peer_primary_addr() 2901 if (!sctp_assoc_lookup_laddr(asoc, (union sctp_addr *)&prim.sspp_addr)) in sctp_setsockopt_peer_primary_addr() 2906 (union sctp_addr *)&prim.sspp_addr); in sctp_setsockopt_peer_primary_addr() 4820 struct sctp_prim prim; in sctp_getsockopt_primary_addr() local 4829 if (copy_from_user(&prim, optval, len)) in sctp_getsockopt_primary_addr() [all …]
|