“8a06dc4d52458e4a909b652ee9fe8f82d2cd87a2”上不存在“arch/um/drivers/line.h”
提交 3dd9a7c3 编写于 作者: I Ian McDonald 提交者: Arnaldo Carvalho de Melo

[DCCP]: Use constants for CCIDs

With constants for CCID numbers this now uses them in some places.
Signed-off-by: NIan McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
上级 b83eff64
...@@ -808,7 +808,7 @@ static void ccid2_hc_rx_packet_recv(struct sock *sk, struct sk_buff *skb) ...@@ -808,7 +808,7 @@ static void ccid2_hc_rx_packet_recv(struct sock *sk, struct sk_buff *skb)
} }
static struct ccid_operations ccid2 = { static struct ccid_operations ccid2 = {
.ccid_id = 2, .ccid_id = DCCPC_CCID2,
.ccid_name = "ccid2", .ccid_name = "ccid2",
.ccid_owner = THIS_MODULE, .ccid_owner = THIS_MODULE,
.ccid_hc_tx_obj_size = sizeof(struct ccid2_hc_tx_sock), .ccid_hc_tx_obj_size = sizeof(struct ccid2_hc_tx_sock),
......
...@@ -1240,7 +1240,7 @@ static int ccid3_hc_tx_getsockopt(struct sock *sk, const int optname, int len, ...@@ -1240,7 +1240,7 @@ static int ccid3_hc_tx_getsockopt(struct sock *sk, const int optname, int len,
} }
static struct ccid_operations ccid3 = { static struct ccid_operations ccid3 = {
.ccid_id = 3, .ccid_id = DCCPC_CCID3,
.ccid_name = "ccid3", .ccid_name = "ccid3",
.ccid_owner = THIS_MODULE, .ccid_owner = THIS_MODULE,
.ccid_hc_tx_obj_size = sizeof(struct ccid3_hc_tx_sock), .ccid_hc_tx_obj_size = sizeof(struct ccid3_hc_tx_sock),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册